#include <OnixS/CME/MDH/HandlerListeners.h>
Public Member Functions | |
HandlerListeners (SettingChangeController *controller=NULL) | |
HandlerListeners (const HandlerListeners &other) | |
~HandlerListeners () | |
HandlerListener * | handler () const |
HandlerListener & | handlerOrDefault () const |
HandlerListeners & | handler (HandlerListener *listener) |
ChannelFeedListener * | feeds () const |
ChannelFeedListener & | feedsOrDefault () const |
HandlerListeners & | feeds (ChannelFeedListener *listener) |
MarketDataListener * | marketData () const |
MarketDataListener & | marketDataOrDefault () const |
HandlerListeners & | marketData (MarketDataListener *listener) |
SecurityListener * | security () const |
SecurityListener & | securityOrDefault () const |
HandlerListeners & | security (SecurityListener *listener) |
HandlerListeners & | operator= (const HandlerListeners &other) |
![]() | |
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 ONIXS_CMEMDH_EXPORTED const SettingGroup & | null () |
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.
|
inline |
Initializes listeners with default values.
Definition at line 120 of file HandlerListeners.h.
|
inline |
Re-initializes settings as copies of the other ones omitting group belonging.
Definition at line 141 of file HandlerListeners.h.
|
inline |
Finalizes the instance.
Definition at line 152 of file HandlerListeners.h.
|
inline |
Returns an instance of ChannelFeedListener to be used by the Handler while raising feed related events.
Definition at line 205 of file HandlerListeners.h.
|
inline |
Assigns listener for feed related events.
Assigning a null instance tells the Handler to omit invoking corresponding events.
Definition at line 233 of file HandlerListeners.h.
|
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 223 of file HandlerListeners.h.
|
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.
|
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.
|
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.
|
inline |
Returns an instance of MarketDataListener to be used by the Handler while raising market data related events.
Definition at line 251 of file HandlerListeners.h.
|
inline |
Assigns listener for market data related events.
Assigning a null instance tells the Handler to omit invoking corresponding events.
Definition at line 279 of file HandlerListeners.h.
|
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 269 of file HandlerListeners.h.
|
inline |
Copies listeners from the given instance.
Attributes controlling value assignment are not cloned and thus only listeners are copied.
Definition at line 345 of file HandlerListeners.h.
|
inline |
Returns an instance of SecurityListener to be used by the Handler while raising security-related events.
Definition at line 297 of file HandlerListeners.h.
|
inline |
Assigns listener for security related events.
Assigning a null instance tells the Handler to omit invoking corresponding events.
Definition at line 325 of file HandlerListeners.h.
|
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 315 of file HandlerListeners.h.
|
friend |
Definition at line 96 of file HandlerListeners.h.