OnixS C++ CME MDP Premium Market Data Handler  5.8.9
API Documentation
LoggingSettings Class Reference

#include <OnixS/CME/MDH/LoggingSettings.h>

Public Member Functions

 LoggingSettings (SettingChangeController *controller=nullptr)
 
 LoggingSettings (const LoggingSettings &other)
 
Loggerlogger () const
 
LoggerloggerOrDefault () const
 
LoggingSettingslogger (Logger *logger)
 
const DebugLoggingSettingsdebug () const
 
DebugLoggingSettingsdebug ()
 
LoggingSettingsoperator= (const LoggingSettings &other)
 
- Public Member Functions inherited from SettingGroup
 SettingGroup (SettingChangeController *controller=nullptr)
 
 ~SettingGroup ()
 
template<class Assignee , class Value >
void controlAssignment (const Char *description, Assignee &assignee, Value value) const
 
template<class Changeable >
void controlChange (const Char *description, void(Changeable::*change)(), Changeable &changeable) const
 
template<class Change , class Changeable , class Arg >
void controlChange (const Char *description, Change change, Changeable &changeable, const Arg &arg) const
 
template<class Change , class Changeable , class Arg1 , class Arg2 >
void controlChange (const Char *description, Change change, Changeable &changeable, const Arg1 &arg1, const Arg2 &arg2) const
 

Friends

class HandlerSettings
 

Additional Inherited Members

- Static Public Member Functions inherited from SettingGroup
static const SettingGroupnull ()
 

Detailed Description

Definition at line 216 of file LoggingSettings.h.

Constructor & Destructor Documentation

LoggingSettings ( SettingChangeController controller = nullptr)
inline

Initializes the instance with the default values.

Definition at line 220 of file LoggingSettings.h.

LoggingSettings ( const LoggingSettings other)
inline

Initializes as a copy of the other instance.

Definition at line 228 of file LoggingSettings.h.

Member Function Documentation

const DebugLoggingSettings& debug ( ) const
inline

The collection of settings affecting debug-level logging.

The Handler may log a lot of data at debug level. The given collection allows to filter debug information being logged.

Definition at line 273 of file LoggingSettings.h.

DebugLoggingSettings& debug ( )
inline

The collection of settings affecting debug-level logging.

The Handler may log a lot of data at debug level. The given collection allows to filter debug information being logged.

Definition at line 284 of file LoggingSettings.h.

Logger* logger ( ) const
inline

The Logger instance to be used by the Handler while logging various events.

No instance may be returned identifying no logger is associated and thus nothing is to be logged by the Handler.

Definition at line 241 of file LoggingSettings.h.

LoggingSettings& logger ( Logger logger)
inline

Assigns the given logger to the Handler.

Null instance tells the Handler to do not log any data and thus reduces general processing time.

Definition at line 260 of file LoggingSettings.h.

Logger& loggerOrDefault ( ) const
inline

The Logger instance to be used by the Handler while logging various events.

If no instance was assigned by the user, the default logger is provided.

Definition at line 251 of file LoggingSettings.h.

LoggingSettings& operator= ( const LoggingSettings other)
inline

Re-initializes the instance as a copy of the other one.

Definition at line 291 of file LoggingSettings.h.

Friends And Related Function Documentation

friend class HandlerSettings
friend

Definition at line 299 of file LoggingSettings.h.


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