![]() |
VR-Forces 4.10 Class Documentation
|
The handler for all SimInternal messages that are sent to and from a specified DtVrfObject. More...
Public Member Functions | |
| virtual | ~DtSimInternalCommunicationInterface () |
| virtual void | sendMessage (DtVrfObjectMessage *message) |
| Fills in the sender name, and sends the message out to any designated recipients. More... | |
| virtual void | receiveMessage (const DtVrfObjectMessage *message) |
| This method pushes this message into the message executive, and any appropriate callbacks are invoked. More... | |
| virtual DtVrfObject * | vrfObject () |
| virtual void | addMessageCallback (DtVrfObjectMessageCallbackFcn fcn, void *usr) |
| Callback which is called for every message that is received by this interface. More... | |
| virtual void | removeMessageCallback (DtVrfObjectMessageCallbackFcn fcn, void *usr) |
| virtual void | addMessageCallback (int type, DtVrfObjectMessageCallbackFcn fcn, void *usr) |
| Callback which is called when a specific type of object message is processed. More... | |
| virtual void | removeMessageCallback (int type, DtVrfObjectMessageCallbackFcn fcn, void *usr) |
Static Public Member Functions | |
| static DtSimInternalCommunicationInterface * | create (DtVrfObject *vrfObj) |
| Calls constructor and virtual init(). More... | |
Protected Member Functions | |
| DtSimInternalCommunicationInterface (DtVrfObject *vrfObj) | |
| Constructor. Do not call directly. Call create() instead. More... | |
| virtual bool | init () |
| Virtual init is called by the static creator method after construction. More... | |
Protected Attributes | |
| DtVrfObject * | myVrfObject |
| DtVrfObjectMessageExecutive | myMessageExecutive |
Private Member Functions | |
| DtSimInternalCommunicationInterface () | |
| Not implemented. More... | |
| DtSimInternalCommunicationInterface (const DtSimInternalCommunicationInterface &orig) | |
| Not implemented. More... | |
| DtSimInternalCommunicationInterface & | operator= (const DtSimInternalCommunicationInterface &orig) |
| Not implemented. More... | |
The handler for all SimInternal messages that are sent to and from a specified DtVrfObject.
This class is the central interface of a DtVrfObject to the SimInternal message system of inter-VrfObject communication. Callbacks can be registered for message receipt and messages can be sent. Normally, components on an entity will register with DtVrfObjectCommunicationInterface instead of with this object directly.
|
private |
Not implemented.
|
private |
Not implemented.
|
protected |
Constructor. Do not call directly. Call create() instead.
|
virtual |
|
private |
Not implemented.
|
static |
Calls constructor and virtual init().
|
protectedvirtual |
Virtual init is called by the static creator method after construction.
|
virtual |
Fills in the sender name, and sends the message out to any designated recipients.
|
virtual |
Callback which is called for every message that is received by this interface.
|
virtual |
|
virtual |
Callback which is called when a specific type of object message is processed.
The type parameter is the content type of the message.
|
virtual |
|
virtual |
This method pushes this message into the message executive, and any appropriate callbacks are invoked.
This method should only be called by the DtSimInternalCommunicationManager.
|
virtual |
|
protected |
|
protected |