OnixS C++ CME MDP Premium Market Data Handler 5.11.1
Users' manual and API documentation
Loading...
Searching...
No Matches
FeedSettingsBase< Layout > Class Template Reference

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

Public Member Functions

Layout layout () const
FeedSettingsBase & layout (Layout value)
Messaging::UInt32 heartbeatInterval () const
FeedSettingsBase & heartbeatInterval (Messaging::UInt32 interval)
FeedConnectionSettings & A ()
const FeedConnectionSettings & A () const
FeedConnectionSettings & B ()
const FeedConnectionSettings & B () const

Protected Member Functions

 FeedSettingsBase (const SettingGroup *group, Layout layout, Messaging::UInt32 heartbeat)
 FeedSettingsBase (const FeedSettingsBase &other)
 ~FeedSettingsBase ()
const SettingGroup & group () const
void assignNoControl (const FeedSettingsBase &other)

Friends

class FeedSettings

Detailed Description

template<typename Layout>
class OnixS::CME::MDH::FeedSettingsBase< Layout >

Definition at line 270 of file FeedSettings.h.

Constructor & Destructor Documentation

◆ FeedSettingsBase() [1/2]

template<typename Layout>
FeedSettingsBase ( const SettingGroup * group,
Layout layout,
Messaging::UInt32 heartbeat )
inlineprotected

Initializes the instance with the given values and optional grouping.

Definition at line 375 of file FeedSettings.h.

◆ FeedSettingsBase() [2/2]

template<typename Layout>
FeedSettingsBase ( const FeedSettingsBase< Layout > & other)
inlineprotected

Initializes the instance as a copy of the other one.

Attributes controlling value assignment aren't cloned and thus only settings are copied.

Definition at line 390 of file FeedSettings.h.

◆ ~FeedSettingsBase()

template<typename Layout>
~FeedSettingsBase ( )
inlineprotected

Definition at line 400 of file FeedSettings.h.

Member Function Documentation

◆ A() [1/2]

template<typename Layout>
FeedConnectionSettings & A ( )
inline

Connection attributes for the primary (A) feed.

Definition at line 311 of file FeedSettings.h.

◆ A() [2/2]

template<typename Layout>
const FeedConnectionSettings & A ( ) const
inline

Connection attributes for the primary (A) feed.

Definition at line 317 of file FeedSettings.h.

◆ assignNoControl()

template<typename Layout>
void assignNoControl ( const FeedSettingsBase< Layout > & other)
inlineprotected

Re-initializes the instance as a copy of the other one without involving assignment control services.

Definition at line 412 of file FeedSettings.h.

◆ B() [1/2]

template<typename Layout>
FeedConnectionSettings & B ( )
inline

Connection attributes for the secondary (B) feed.

Definition at line 323 of file FeedSettings.h.

◆ B() [2/2]

template<typename Layout>
const FeedConnectionSettings & B ( ) const
inline

Connection attributes for the secondary (B) feed.

Definition at line 329 of file FeedSettings.h.

◆ group()

template<typename Layout>
const SettingGroup & group ( ) const
inlineprotected

Instance of the group which the given settings belong to.

Definition at line 404 of file FeedSettings.h.

◆ heartbeatInterval() [1/2]

template<typename Layout>
Messaging::UInt32 heartbeatInterval ( ) const
inline

Specifies maximal time interval between two network packets. If no data is received during specified time frame, corresponding event is raised and further behavior is defined by feed layout.

Interval is measured in seconds.

Definition at line 295 of file FeedSettings.h.

◆ heartbeatInterval() [2/2]

template<typename Layout>
FeedSettingsBase & heartbeatInterval ( Messaging::UInt32 interval)
inline

Specifies maximal time interval between two packets.

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

Definition at line 303 of file FeedSettings.h.

◆ layout() [1/2]

template<typename Layout>
Layout layout ( ) const
inline

Defines feed layout for a feed group.

Definition at line 274 of file FeedSettings.h.

◆ layout() [2/2]

template<typename Layout>
FeedSettingsBase & layout ( Layout value)
inline

Defines feed layout for recovery feed group.

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

Definition at line 282 of file FeedSettings.h.

◆ FeedSettings

template<typename Layout>
friend class FeedSettings
friend

Definition at line 371 of file FeedSettings.h.