Classes | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
gte::Logger Class Reference

#include <GteLogger.h>

Classes

class  Listener
 

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

std::string mMessage
 

Static Private Attributes

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

Detailed Description

Definition at line 23 of file GteLogger.h.

Constructor & Destructor Documentation

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

Definition at line 13 of file GteLogger.cpp.

Member Function Documentation

void Logger::Assertion ( )

Definition at line 23 of file GteLogger.cpp.

void Logger::Error ( )

Definition at line 36 of file GteLogger.cpp.

void Logger::Information ( )

Definition at line 62 of file GteLogger.cpp.

void Logger::Subscribe ( Listener listener)
static

Definition at line 75 of file GteLogger.cpp.

void Logger::Unsubscribe ( Listener listener)
static

Definition at line 82 of file GteLogger.cpp.

void Logger::Warning ( )

Definition at line 49 of file GteLogger.cpp.

Member Data Documentation

std::string gte::Logger::mMessage
private

Definition at line 75 of file GteLogger.h.

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

Definition at line 78 of file GteLogger.h.

std::mutex Logger::msMutex
staticprivate

Definition at line 77 of file GteLogger.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06