Grail (C++)  1.1.1
A multi-platform, modular, universal engine for embedding advanced AI in games.
grail::DefaultSink Class Reference

The DefaultSink class - sink writing messages to standard system output. More...

#include <DefaultSink.hh>

Inheritance diagram for grail::DefaultSink:
Collaboration diagram for grail::DefaultSink:

Public Member Functions

 DefaultSink (bool isSynchronized=false)
 
- Public Member Functions inherited from grail::Sink
 Sink (bool isSynchronized=false)
 
 Sink (const Sink &other)=delete
 
 Sink (Sink &&other)=delete
 
Sinkoperator= (const Sink &other)=delete
 
Sinkoperator= (Sink &&other)=delete
 
void Sync (const std::string &message)
 

Protected Member Functions

virtual void Log (const std::string &message) override
 Log - override this method to define how the messege should be logged. More...
 

Detailed Description

The DefaultSink class - sink writing messages to standard system output.

Member Function Documentation

◆ Log()

void grail::DefaultSink::Log ( const std::string &  message)
overrideprotectedvirtual

Log - override this method to define how the messege should be logged.

Parameters
message

Implements grail::Sink.


The documentation for this class was generated from the following files: