OnixS C++ CME Market Data Handler  5.4.0
API documentation
HandlerListeners Class Reference

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

Public Member Functions

 HandlerListeners (SettingAssignController *controller=NULL)
 
 HandlerListeners (const HandlerListeners &other)
 
 ~HandlerListeners ()
 
HandlerListenerhandler () const
 
HandlerListenerhandlerOrDefault () const
 
void handler (HandlerListener *listener)
 
ChannelFeedListenerfeeds () const
 
ChannelFeedListenerfeedsOrDefault () const
 
void feeds (ChannelFeedListener *listener)
 
MarketDataListenermarketData () const
 
MarketDataListenermarketDataOrDefault () const
 
void marketData (MarketDataListener *listener)
 
SecurityListenersecurity () const
 
SecurityListenersecurityOrDefault () const
 
void security (SecurityListener *listener)
 
HandlerListenersoperator= (const HandlerListeners &other)
 
- Public Member Functions inherited from SettingGroup
 SettingGroup (SettingAssignController *controller=NULL)
 
 ~SettingGroup ()
 
template<class Assignee , class Value >
void controlAssignment (const Char *description, Assignee &assignee, Value value) const
 
template<class Assignee , class Value , class AssignRoutine >
void controlAssignment (const Char *description, AssignRoutine routine, Assignee &assignee, const Value &value) const
 

Friends

class HandlerSettings
 

Additional Inherited Members

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

Detailed Description

Set of listeners to be used by the Handler to reflect various aspects of market data processing.

Definition at line 91 of file HandlerListeners.h.

Constructor & Destructor Documentation

HandlerListeners ( SettingAssignController controller = NULL)
inline

Initializes listeners with default values.

Definition at line 120 of file HandlerListeners.h.

HandlerListeners ( const HandlerListeners other)
inline

Re-initializes settings as copies of the other ones omitting group belonging.

Definition at line 141 of file HandlerListeners.h.

~HandlerListeners ( )
inline

Finalizes the instance.

Definition at line 152 of file HandlerListeners.h.

Member Function Documentation

ChannelFeedListener* feeds ( ) const
inline

Returns an instance of ChannelFeedListener to be used by the Handler while raising feed related events.

Definition at line 203 of file HandlerListeners.h.

void feeds ( ChannelFeedListener listener)
inline

Assigns listener for feed related events.

Assigning a null instance tells the Handler to omit invoking corresponding events.

Definition at line 231 of file HandlerListeners.h.

ChannelFeedListener& feedsOrDefault ( ) const
inline

Returns an instance of ChannelFeedListener to be used by the Handler while raising feed related events.

If no or a null instance was previously associated, the given member returns default listener.

Definition at line 221 of file HandlerListeners.h.

HandlerListener* handler ( ) const
inline

Returns an instance of HandlerListener to be used by the Handler while raising Handler related events.

Definition at line 159 of file HandlerListeners.h.

void handler ( HandlerListener listener)
inline

Assigns listener for Handler related events.

Assigning a null instance tells the Handler to omit invoking corresponding events.

Definition at line 187 of file HandlerListeners.h.

HandlerListener& handlerOrDefault ( ) const
inline

Returns an instance of HandlerListener to be used by the Handler while raising Handler related events.

If no or a null instance was previously associated, the given member returns default listener.

Definition at line 177 of file HandlerListeners.h.

MarketDataListener* marketData ( ) const
inline

Returns an instance of MarketDataListener to be used by the Handler while raising market data related events.

Definition at line 247 of file HandlerListeners.h.

void marketData ( MarketDataListener listener)
inline

Assigns listener for market data related events.

Assigning a null instance tells the Handler to omit invoking corresponding events.

Definition at line 275 of file HandlerListeners.h.

MarketDataListener& marketDataOrDefault ( ) const
inline

Returns an instance of MarketDataListener to be used by the Handler while raising market data related events.

If no or a null instance was previously associated, the given member returns default listener.

Definition at line 265 of file HandlerListeners.h.

HandlerListeners& operator= ( const HandlerListeners other)
inline

Copies listeners from the given instance.

Attributes controlling value assignment are not cloned and thus only listeners are copied.

Definition at line 337 of file HandlerListeners.h.

SecurityListener* security ( ) const
inline

Returns an instance of SecurityListener to be used by the Handler while raising security-related events.

Definition at line 291 of file HandlerListeners.h.

void security ( SecurityListener listener)
inline

Assigns listener for security related events.

Assigning a null instance tells the Handler to omit invoking corresponding events.

Definition at line 319 of file HandlerListeners.h.

SecurityListener& securityOrDefault ( ) const
inline

Returns an instance of SecurityListener to be used by the Handler while raising security-related events.

If no or a null instance was previously associated, the given member returns default listener.

Definition at line 309 of file HandlerListeners.h.

Friends And Related Function Documentation

friend class HandlerSettings
friend

Definition at line 96 of file HandlerListeners.h.


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