NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
NeuralEngine::Logger Class Reference
Collaboration diagram for NeuralEngine::Logger:

Public Member Functions

 Logger (char const *file, char const *function, int line, std::string const &message)
 Constructor. More...
 
void Assertion ()
 
void Error ()
 
void Warning ()
 
void Information ()
 

Static Public Member Functions

static void Subscribe (Listener *listener)
 
static void Unsubscribe (Listener *listener)
 

Private Attributes

std::string mMessage
 

Static Private Attributes

static std::mutex msMutex
 
static std::set< Listener * > msListeners
 

Detailed Description

Definition at line 58 of file NeLogger.h.

Constructor & Destructor Documentation

◆ Logger()

NeuralEngine::Logger::Logger ( char const *  file,
char const *  function,
int  line,
std::string const &  message 
)

Constructor.

<note> Construction. The Logger object is designed to exist only for a single-line call. A string is generated from the input parameters and is used for reporting. </note>

Hmetal T, 04.08.2016.

Parameters
fileThe file.
functionThe function.
lineThe line.
messageThe message.

Member Data Documentation

◆ mMessage

std::string NeuralEngine::Logger::mMessage
private

Definition at line 91 of file NeLogger.h.

◆ msMutex

std::mutex NeuralEngine::Logger::msMutex
staticprivate

Definition at line 93 of file NeLogger.h.

◆ msListeners

std::set<Listener*> NeuralEngine::Logger::msListeners
staticprivate

Definition at line 94 of file NeLogger.h.


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