![]() |
![]() |
Public Member Functions | |
void | add_callback (void* data, func_destroy_notify func) |
Add a callback function. | |
void | remove_callback (void* data) |
Remove the callback which has this data associated with it. | |
void | clear () |
This invokes all of the callback functions. | |
trackable_callback_list () | |
~trackable_callback_list () | |
This invokes all of the callback functions. |
A callback list holds an STL list of callbacks of type trackable_callback. Callbacks are added and removed with add_callback(), remove_callback() and clear(). The callbacks are invoked from clear() and from the destructor.
|
|
|
This invokes all of the callback functions.
|
|
Add a callback function.
|
|
This invokes all of the callback functions.
|
|
Remove the callback which has this data associated with it.
|