VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtSimInternalCommunicationInterface Class Reference

The handler for all SimInternal messages that are sent to and from a specified DtVrfObject. More...

List of all members.

Public Member Functions

virtual ~DtSimInternalCommunicationInterface ()
virtual void sendMessage (DtVrfObjectMessage *message)
 Fills in the sender name, and sends the message out to any designated recipients.
virtual void receiveMessage (const DtVrfObjectMessage *message)
 This method pushes this message into the message executive, and any appropriate callbacks are invoked.
virtual DtVrfObjectvrfObject ()
virtual void addMessageCallback (DtVrfObjectMessageCallbackFcn fcn, void *usr)
 Callback which is called for every message that is received by this interface.
virtual void removeMessageCallback (DtVrfObjectMessageCallbackFcn fcn, void *usr)
 Callback which is called for every message that is received by this interface.
virtual void addMessageCallback (int type, DtVrfObjectMessageCallbackFcn fcn, void *usr)
 Callback which is called when a specific type of object message is processed.
virtual void removeMessageCallback (int type, DtVrfObjectMessageCallbackFcn fcn, void *usr)
 Callback which is called when a specific type of object message is processed.

Static Public Member Functions

static
DtSimInternalCommunicationInterface
create (DtVrfObject *vrfObj)
 Calls constructor and virtual init().

Protected Member Functions

 DtSimInternalCommunicationInterface (DtVrfObject *vrfObj)
 Constructor. Do not call directly. Call create() instead.
virtual bool init ()
 Virtual init is called by the static creator method after construction.

Protected Attributes

DtVrfObjectmyVrfObject
DtVrfObjectMessageExecutive myMessageExecutive

Private Member Functions

 DtSimInternalCommunicationInterface ()
 Not implemented.
 DtSimInternalCommunicationInterface (const DtSimInternalCommunicationInterface &orig)
 Not implemented.
DtSimInternalCommunicationInterfaceoperator= (const DtSimInternalCommunicationInterface &orig)
 Not implemented.

Detailed Description

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.


Constructor & Destructor Documentation

Not implemented.

Not implemented.

Constructor. Do not call directly. Call create() instead.


Member Function Documentation

DtSimInternalCommunicationInterface& DtSimInternalCommunicationInterface::operator= ( const DtSimInternalCommunicationInterface orig) [private]

Not implemented.

Calls constructor and virtual init().

virtual bool DtSimInternalCommunicationInterface::init ( ) [protected, virtual]

Virtual init is called by the static creator method after construction.

Fills in the sender name, and sends the message out to any designated recipients.

Callback which is called for every message that is received by this interface.

Callback which is called for every message that is received by this interface.

virtual void DtSimInternalCommunicationInterface::addMessageCallback ( int  type,
DtVrfObjectMessageCallbackFcn  fcn,
void *  usr 
) [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 void DtSimInternalCommunicationInterface::removeMessageCallback ( int  type,
DtVrfObjectMessageCallbackFcn  fcn,
void *  usr 
) [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 void DtSimInternalCommunicationInterface::receiveMessage ( const DtVrfObjectMessage message) [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.

Returns:
The DtVrfObject that is associated with this interface.

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)