30 template<
class CallbackType>
39 template<
class CallbackType>
50 template<
class CallbackType>
59 template<
class CallbackType>
64 cbr_.append(static_cast<CallbackType*>(
this));
74 template<
class CallbackType>
79 CallbackType* cbPtr = cbr_.remove(static_cast<CallbackType*>(
this));
bool checkOut()
Check-out Callback from CallbackRegistry.
virtual ~Callback()
Destructor.
Base class with which callbacks are registered.
bool checkIn()
Register Callback with CallbackRegistry.
Callback(CallbackRegistry< CallbackType > &)
Construct and register with CallbackRegistry.
Abstract class to handle automatic call-back registration with the CallbackRegistry. Derive from this class and extend by adding the appropriate callback functions.