OnixS C++ CME Market Data Handler  5.7.0
API documentation
LoggingSettings Class Reference

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

Public Member Functions

 LoggingSettings (SettingChangeController *controller=NULL)
 
 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=NULL)
 
 ~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 ONIXS_CMEMDH_EXPORTED const SettingGroupnull ()
 

Detailed Description

The collection of settings affecting use of logging subsystem by the Handler.

Definition at line 287 of file LoggingSettings.h.

Constructor & Destructor Documentation

LoggingSettings ( SettingChangeController controller = NULL)
inline

Initializes the instance with the default values.

Definition at line 318 of file LoggingSettings.h.

LoggingSettings ( const LoggingSettings other)
inline

Initializes as a copy of the other instance.

Definition at line 328 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 392 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 404 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 342 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 368 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 358 of file LoggingSettings.h.

LoggingSettings& operator= ( const LoggingSettings other)
inline

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

Definition at line 412 of file LoggingSettings.h.

Friends And Related Function Documentation

friend class HandlerSettings
friend

Definition at line 291 of file LoggingSettings.h.


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