#include <rdCallbackSet.h>
Inheritance diagram for rdCallbackSet:

Public Member Functions | |
| rdCallbackSet (rdModel *aModel) | |
| Default constructor. | |
| virtual | ~rdCallbackSet () |
| Destructor. | |
| void | deleteCallbacks () |
| Delete all callbacks. | |
| rdModel * | getModel () |
| Get a pointer to the model which is actuated. | |
| rdCallback * | getCallback (int aIndex) const |
| Get the callback at an index. | |
| void | setOn (bool aTrueFalse) |
| Set all the callbacks either on or off. | |
Static Public Attributes | |
| const int | NUM_TYPES |
Protected Attributes | |
| rdModel * | _model |
| Model for which the callbacks have been set. | |
Private Member Functions | |
| void | setNull () |
| Set the data members of this actuator to their null values. | |
|
|
Destructor. Note that the individual callbacks are not deleted by this destructor. To delete the callbacks, the caller must do so individually, or the method rdCallback::deleteCallbacks() may be called. |
|
|
Get the callback at an index. This method simply uses the method redExpandableArray::get() and casts the returned void as an rdCallback.
|
|
|
Get a pointer to the model which is actuated.
|
|
|
Set all the callbacks either on or off.
|
1.3