#include <callback_decls.h>
Inheritance diagram for CallbackChain:
Public Member Functions | |
CallbackChain () | |
Constructs an empty CallbackChain. | |
CallbackChain (Callback *cb) | |
Constructs a CallbackChain containing the single Callback cb. | |
void | add (Callback *cb) |
Adds a Callback to the CallbackChain. | |
void | run () |
This method takes action when the Callback is to be run. |
CallbackChain::CallbackChain | ( | Callback * | cb | ) |
Constructs a CallbackChain containing the single Callback cb.
Make sure that cb was allocated using new as it will be destroyed by the destructor of the CallbackChain using delete.
cb | is put in the CallbackChain |
void CallbackChain::add | ( | Callback * | cb | ) |
Adds a Callback to the CallbackChain.
Make sure that cb was allocated using new as it will be destroyed by the destructor of the CallbackChain using delete.
cb | is put in the CallbackChain |
void CallbackChain::run | ( | ) | [virtual] |