m2etis  0.4
Util

Namespaces

 m2etis
 
 m2etis::util
 
 m2etis::util::log
 

Classes

class  m2etis::util::Clock< Updater >
 Clock for time handling, Updater is the implementation of the time, like a RealTimeClock measuring real time. More...
 
class  m2etis::util::DoubleBufferQueue< T, producer, consumer >
 
class  m2etis::util::ExceptionQueue
 Implements a queue that supports multiple producers but only one consumer. More...
 
struct  m2etis::util::loginfo
 Internal data structure for exceptions. More...
 
struct  m2etis::util::m2exception
 
class  m2etis::util::SystemFailureException
 Critical exception that cannot be repaired by a single subsystem. More...
 
class  m2etis::util::ApiException
 Occurs when the engine detects a programmer's error. More...
 
class  m2etis::util::Predicate< EventType >
 
class  m2etis::util::RealTimeClock
 This Clock handles the real time. More...
 
class  m2etis::util::SegmentTree< T >
 SegmentTree handles integer values and stores segments of set values e.g. inserting values 2, 3 and 4 results in a segment [2,4]. More...
 
class  m2etis::util::Singleton< T >
 Derive from this templated class to make a class a singleton. Refer to the Singleton Design Pattern if it is not clear what a singleton is. Declare the ctor private. More...
 

Macros

#define M2ETIS_THROW_FAILURE(module, message, errorcode)
 throws on internal errors More...
 
#define M2ETIS_THROW_API(module, message)
 throws on wrong API usage More...
 
#define M2ETIS_LOG_DEBUG(module, message)
 
#define M2ETIS_LOG_INFO(module, message)
 
#define M2ETIS_LOG_WARN(module, message)
 
#define M2ETIS_LOG_ERROR(module, message)
 
#define M2ETIS_LOG_FATAL(module, message)
 
#define M2ETIS_LOG_SETLEVEL(level)
 

Enumerations

enum  m2etis::util::log::LogLevel {
  m2etis::util::log::LOG_INFO, m2etis::util::log::LOG_WARN, m2etis::util::log::LOG_ERROR, m2etis::util::log::LOG_FATAL,
  m2etis::util::log::LOG_NONE
}
 Defines values to specify severity/importance of log message. More...
 

Detailed Description

Macro Definition Documentation

#define M2ETIS_LOG_DEBUG (   module,
  message 
)

Definition at line 53 of file Logger.h.

#define M2ETIS_LOG_ERROR (   module,
  message 
)

Definition at line 59 of file Logger.h.

#define M2ETIS_LOG_FATAL (   module,
  message 
)

Definition at line 61 of file Logger.h.

#define M2ETIS_LOG_INFO (   module,
  message 
)

Definition at line 55 of file Logger.h.

#define M2ETIS_LOG_SETLEVEL (   level)

Definition at line 64 of file Logger.h.

#define M2ETIS_LOG_WARN (   module,
  message 
)

Definition at line 57 of file Logger.h.

#define M2ETIS_THROW_API (   module,
  message 
)

throws on wrong API usage

Definition at line 40 of file Exceptions.h.

#define M2ETIS_THROW_FAILURE (   module,
  message,
  errorcode 
)

throws on internal errors

Definition at line 33 of file Exceptions.h.

Enumeration Type Documentation

Defines values to specify severity/importance of log message.

Enumerator
LOG_INFO 
LOG_WARN 
LOG_ERROR 
LOG_FATAL 
LOG_NONE 

Definition at line 86 of file Logger.h.