![]() |
VR-Forces Developer's Guide
|
This class manages encoding and decoding of messages to and from an external comms effects server.
Classes | |
| struct | _tSplitContentEntry |
Public Types | |
| typedef struct DtExternalCommsMessageTransporter::_tSplitContentEntry | SplitContentEntry |
| typedef std::map < DtSplitMessageKey, std::map < unsigned, SplitContentEntry > > | SplitContentMap |
| typedef DtCallbackList< const DtExternalCommsProcessMessageData & > | DtProcessMessageCallbackList |
| typedef DtCallbackList< const DtExternalCommsTimeoutData & > | DtTimeoutCallbackList |
| typedef std::pair < makVrfEvents::DtExternalCommsMessageParams, DtVrfObjectMessageConstPtr > | DtExternalCommsMessageCallbackParams |
| typedef DtCallbackList< const DtExternalCommsMessageCallbackParams & > | DtNewMessageCallbackList |
| typedef DtCallbackList< const DtExternalCommsReadyToSendData & > | DtReadyToSendCallbackList |
Static Public Member Functions | |
| static DtExternalCommsMessageTransporter * | create (DtCommunicationManager *) |
| static void | splitContentTimeoutCbk (const DtSplitMessageKey &key, void *pUsr) |
Protected Attributes | |
| bool | myEnabled |
| DtCommunicationManager * | myCommunicationManager |
| DtProcessMessageCallbackList | myProcessMessageCallbackList |
| DtNewMessageCallbackList | myNewMessageCallbackList |
| DtReadyToSendCallbackList | myReadyToSendCallbackList |
| DtTimeoutCallbackList | myTimeoutCallbackList |
| SplitContentMap | mySplitContentMap |
| DtSplitContentTimer | mySplitContentTimer |
| DtClock | myClock |
| boost::signals2::scoped_connection | mySignalForDataEventConnection |
| boost::signals2::scoped_connection | mySignalForExternalCommsSignalEventConnection |
Private Member Functions | |
| DtExternalCommsMessageTransporter () | |
| DtExternalCommsMessageTransporter (const DtExternalCommsMessageTransporter &orig) | |
| DtExternalCommsMessageTransporter & | operator= (const DtExternalCommsMessageTransporter &orig) |
| typedef struct DtExternalCommsMessageTransporter::_tSplitContentEntry DtExternalCommsMessageTransporter::SplitContentEntry |
| typedef std::map<DtSplitMessageKey, std::map<unsigned, SplitContentEntry> > DtExternalCommsMessageTransporter::SplitContentMap |
| typedef DtCallbackList<const DtExternalCommsProcessMessageData&> DtExternalCommsMessageTransporter::DtProcessMessageCallbackList |
| typedef DtCallbackList<const DtExternalCommsTimeoutData&> DtExternalCommsMessageTransporter::DtTimeoutCallbackList |
| typedef std::pair<makVrfEvents::DtExternalCommsMessageParams, DtVrfObjectMessageConstPtr> DtExternalCommsMessageTransporter::DtExternalCommsMessageCallbackParams |
| typedef DtCallbackList<const DtExternalCommsMessageCallbackParams&> DtExternalCommsMessageTransporter::DtNewMessageCallbackList |
| typedef DtCallbackList<const DtExternalCommsReadyToSendData&> DtExternalCommsMessageTransporter::DtReadyToSendCallbackList |
|
private |
Not Implemented.
|
private |
Not Implemented.
|
protected |
Call create() instead of the constructor.
|
virtual |
|
private |
Not Implemented.
|
protectedvirtual |
Virtual init called from create().
|
static |
Use this as constructor. Calls the constructor, and then init() on the newly created instance before returning it.
|
virtual |
Add/remove callbacks for receipt of an external comms "Process Message" commands. This command indicates that comms server has approved a message to be sent to a particular receiver.
|
virtual |
Add/remove callbacks for receipt of an external comms "Process Message" commands. This command indicates that comms server has approved a message to be sent to a particular receiver.
|
virtual |
|
virtual |
Callback invoked whenever a Ready To Send Signal message is received by the transporter. Data contains the entity and radio index for which this ready to send signal applies.
|
virtual |
Callback invoked whenever a Ready To Send Signal message is received by the transporter. Data contains the entity and radio index for which this ready to send signal applies.
|
virtual |
Add/remove callbacks for the receipt of an external comms "Timeout" command. This command indicates that the comms server is done with this message and no more Process Message commands will be received on this message id.
|
virtual |
Add/remove callbacks for the receipt of an external comms "Timeout" command. This command indicates that the comms server is done with this message and no more Process Message commands will be received on this message id.
|
virtual |
Callback invoked each time a new external comms signal message is read from the network.
|
virtual |
Callback invoked each time a new external comms signal message is read from the network.
|
inline |
accessor/mutator for enabled state
References myEnabled.
|
virtual |
accessor/mutator for enabled state
|
virtual |
|
virtual |
|
virtual |
Sends a new signal PDU with the proper external comms header, and the specified message as contents.
|
virtual |
|
virtual |
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
If the interaction is one of the external comms interaction types, calls the corresponding processExternalCommsxxx methods.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Send the fully initialized signal interaction.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |