![]() |
VR-Forces 4.8 Class Documentation
|

Public Types | |
| typedef std::map< DtString, DtMessageCallbackList > | DtStringCallbackMap |
Public Member Functions | |
| DtStringMessageExecutive () | |
| default constructor More... | |
| virtual | ~DtStringMessageExecutive () |
| destructor More... | |
| virtual void | addMessageCallback (DtString type, DtMessageCallbackFcn fcn, void *usrData) |
| Add/Remove a function to be called when a particular message type is received. More... | |
| virtual void | removeMessageCallback (DtString type, DtMessageCallbackFcn fcn, void *usrData) |
| virtual void | processMessage (const DtSimMessage &msg) const |
| Call the callbacks registered for the Radio message's type. More... | |
| virtual int | numCallbacks (DtString type) const |
| Get the number of callbacks registered for a radio message type. More... | |
| virtual DtString | messageType (const DtSimMessage &message) const =0 |
| Returns the string to be used as index onto the message exec list. More... | |
Protected Member Functions | |
| DtStringMessageExecutive (const DtStringMessageExecutive &orig) | |
| copy constructor More... | |
| DtStringMessageExecutive & | operator= (const DtStringMessageExecutive &orig) |
| assignment operator More... | |
Protected Attributes | |
| DtStringCallbackMap | myStringCallbackMap |
Additional Inherited Members |
| typedef std::map<DtString, DtMessageCallbackList > DtStringMessageExecutive::DtStringCallbackMap |
| DtStringMessageExecutive::DtStringMessageExecutive | ( | ) |
default constructor
|
virtual |
destructor
|
protected |
copy constructor
|
virtual |
Add/Remove a function to be called when a particular message type is received.
|
virtual |
|
virtual |
Call the callbacks registered for the Radio message's type.
Reimplemented from DtMessageExecutive.
Get the number of callbacks registered for a radio message type.
|
pure virtual |
Returns the string to be used as index onto the message exec list.
For example, to create a TaskMessageExecutive, this function could upcast the simMsg to a task msg, and then return the task()->type().
|
protected |
assignment operator
|
protected |