OnixS C++ CME MDP Premium Market Data Handler 5.11.1
Users' manual and API documentation
Loading...
Searching...
No Matches
DebugLoggingSettings Class Reference

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

Public Member Functions

 DebugLoggingSettings (const SettingGroup *group=nullptr)
 DebugLoggingSettings (const DebugLoggingSettings &other)
 ~DebugLoggingSettings ()
bool traceFeeds () const
DebugLoggingSettings & traceFeeds (bool status)
MessageTracing::Enum traceMessages () const
DebugLoggingSettings & traceMessages (MessageTracing::Enum tracing)
bool traceBooks () const
DebugLoggingSettings & traceBooks (bool status)
DebugLoggingSettings & operator= (const DebugLoggingSettings &other)

Protected Member Functions

void assignNoControl (const DebugLoggingSettings &other)

Friends

class LoggingSettings

Detailed Description

Definition at line 70 of file LoggingSettings.h.

Constructor & Destructor Documentation

◆ DebugLoggingSettings() [1/2]

DebugLoggingSettings ( const SettingGroup * group = nullptr)
inline

Initializes default settings.

Definition at line 74 of file LoggingSettings.h.

◆ DebugLoggingSettings() [2/2]

DebugLoggingSettings ( const DebugLoggingSettings & other)
inline

Initializes as a copy.

Definition at line 83 of file LoggingSettings.h.

◆ ~DebugLoggingSettings()

~DebugLoggingSettings ( )
inline

Cleans everything up (if necessary).

Definition at line 92 of file LoggingSettings.h.

Member Function Documentation

◆ assignNoControl()

void assignNoControl ( const DebugLoggingSettings & other)
inlineprotected

Definition at line 163 of file LoggingSettings.h.

◆ operator=()

DebugLoggingSettings & operator= ( const DebugLoggingSettings & other)
inline

Re-initializes as a copy.

Exceptions
std::runtime_errorIf the setting belongs to a handler that is processing market data or being configured from another source.

Definition at line 148 of file LoggingSettings.h.

◆ traceBooks() [1/2]

bool traceBooks ( ) const
inline

Indicates whether books are traced.

Note
By default, books are not traced.

Definition at line 130 of file LoggingSettings.h.

◆ traceBooks() [2/2]

DebugLoggingSettings & traceBooks ( bool status)
inline

Indicates whether books are traced.

Exceptions
std::runtime_errorIf the setting belongs to a handler that is processing market data or being configured from another source.

Definition at line 138 of file LoggingSettings.h.

◆ traceFeeds() [1/2]

bool traceFeeds ( ) const
inline

Defines whether feeds are to be traced.

Note
By default, feeds are not traced.

Definition at line 96 of file LoggingSettings.h.

◆ traceFeeds() [2/2]

DebugLoggingSettings & traceFeeds ( bool status)
inline

Defines whether feeds are to be traced.

Exceptions
std::runtime_errorIf the setting belongs to a handler that is processing market data or being configured from another source.

Definition at line 104 of file LoggingSettings.h.

◆ traceMessages() [1/2]

MessageTracing::Enum traceMessages ( ) const
inline

Defines the way SBE messages are traced.

Note
By default, messages are not traced.

Definition at line 113 of file LoggingSettings.h.

◆ traceMessages() [2/2]

DebugLoggingSettings & traceMessages ( MessageTracing::Enum tracing)
inline

Defines the way SBE messages are traced.

Exceptions
std::runtime_errorIf the setting belongs to a handler that is processing market data or being configured from another source.

Definition at line 121 of file LoggingSettings.h.

◆ LoggingSettings

friend class LoggingSettings
friend

Definition at line 158 of file LoggingSettings.h.