OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
SettingGroup Class Reference

Public Member Functions

 SettingGroup (SettingChangeController *controller=nullptr)
 ~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

Static Public Member Functions

static const SettingGroupnull ()

Detailed Description

Definition at line 91 of file SettingGroup.h.

Constructor & Destructor Documentation

◆ SettingGroup()

SettingGroup ( SettingChangeController * controller = nullptr)
inline

Initializes the group of settings with the given validation services.

Definition at line 96 of file SettingGroup.h.

◆ ~SettingGroup()

~SettingGroup ( )
inline

Does actually nothing.

Definition at line 102 of file SettingGroup.h.

Member Function Documentation

◆ controlAssignment()

template<class Assignee, class Value>
void controlAssignment ( const Char * description,
Assignee & assignee,
Value value ) const
inline

Guarded assignment of the given value to the given variable.

Definition at line 107 of file SettingGroup.h.

◆ controlChange() [1/3]

template<class Change, class Changeable, class Arg>
void controlChange ( const Char * description,
Change change,
Changeable & changeable,
const Arg & arg ) const
inline

Guarded invoke of the given routine which assumes complex change or update for the given object.

Definition at line 129 of file SettingGroup.h.

◆ controlChange() [2/3]

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
inline

Guarded invoke of the given routine which assumes complex change or update for the given object.

Definition at line 141 of file SettingGroup.h.

◆ controlChange() [3/3]

template<class Changeable>
void controlChange ( const Char * description,
void(Changeable::* change )(),
Changeable & changeable ) const
inline

Guarded invoke of the given routine which assumes complex change or update for the given object.

Definition at line 118 of file SettingGroup.h.

◆ null()

const SettingGroup & null ( )
static

Returns an instance representing a null group.