Abstract class to handle automatic call-back registration with the CallbackRegistry. Derive from this class and extend by adding the appropriate callback functions. More...
Public Member Functions | |
Callback (CallbackRegistry< CallbackType > &) | |
Construct and register with CallbackRegistry. More... | |
Callback (const Callback< CallbackType > &) | |
Construct as copy. More... | |
virtual | ~Callback () |
Destructor. More... | |
bool | checkIn () |
Register Callback with CallbackRegistry. More... | |
bool | checkOut () |
Check-out Callback from CallbackRegistry. More... | |
Public Member Functions inherited from LList< LListBase, T >::link | |
link (const T &elem) | |
Copy construct from given object. More... | |
link (T &&elem) | |
Move construct from given object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from LList< LListBase, T >::link | |
static T | remove (typename LListBase::link *node) |
Delete linked item and return the element value. More... | |
static constexpr T * | ptr (typename LListBase::link *node) |
Dereference LListBase::link to obtain address of stored object. More... | |
static constexpr const T * | ptr (const typename LListBase::link *node) |
Dereference LListBase::link to obtain address of stored object. More... | |
static constexpr T & | ref (typename LListBase::link *node) |
Dereference LListBase::link to obtain the stored object. More... | |
static constexpr const T & | ref (const typename LListBase::link *node) |
Dereference LListBase::link to obtain the stored object. More... | |
Public Attributes inherited from LList< LListBase, T >::link | |
T | val_ |
Stored object. More... | |
Abstract class to handle automatic call-back registration with the CallbackRegistry. Derive from this class and extend by adding the appropriate callback functions.
Definition at line 53 of file Callback.H.
Callback | ( | CallbackRegistry< CallbackType > & | cbr | ) |
Construct and register with CallbackRegistry.
Definition at line 34 of file Callback.C.
References Callback< CallbackType >::checkIn().
Construct as copy.
Definition at line 43 of file Callback.C.
References Callback< CallbackType >::checkIn().
|
virtual |
Destructor.
Definition at line 54 of file Callback.C.
bool checkIn |
Register Callback with CallbackRegistry.
Definition at line 63 of file Callback.C.
Referenced by Callback< CallbackType >::Callback().
bool checkOut |
Check-out Callback from CallbackRegistry.
Definition at line 76 of file Callback.C.