The DtVrfTDLMessageInterface is a transporter for sending TDL messages as data interactions using a VR-Link exercise connection.
More...
Static Protected Member Functions |
| static void | netMessageCallback (DtDataInteraction *dataInter, void *usr) |
Detailed Description
The DtVrfTDLMessageInterface is a transporter for sending TDL messages as data interactions using a VR-Link exercise connection.
Member Typedef Documentation
Constructor & Destructor Documentation
| DtVrfTDLMessageInterface::DtVrfTDLMessageInterface |
( |
DtExerciseConn * |
exConn, |
|
|
bool |
useDefaultInterfaceFactory = true |
|
) |
| |
| virtual DtVrfTDLMessageInterface::~DtVrfTDLMessageInterface |
( |
| ) |
|
|
virtual |
| DtVrfTDLMessageInterface::DtVrfTDLMessageInterface |
( |
| ) |
|
|
private |
Member Function Documentation
| virtual bool DtVrfTDLMessageInterface::init |
( |
| ) |
|
|
virtual |
Creates all the other pieces.
| virtual bool DtVrfTDLMessageInterface::createAndDeliverMessage |
( |
const DtSimulationAddress & |
recipient, |
|
|
const DtVrfTDLMessage & |
content, |
|
|
bool |
overrideTimestampOrder = true |
|
) |
| |
|
virtual |
If there is a recipient in the message it is supplanted by the recipient in the createAndDeliverMessage call.
| virtual const DtSimulationAddress& DtVrfTDLMessageInterface::messageAddress |
( |
| ) |
const |
|
virtual |
Get the address that should be used as the sender for all messages originating from the backend.
Send a sim interface message.
| DtExerciseConn * DtVrfTDLMessageInterface::exerciseConn |
( |
| ) |
|
|
inlinevirtual |
| void DtVrfTDLMessageInterface::clearExerciseConn |
( |
| ) |
|
|
inlinevirtual |
| virtual void DtVrfTDLMessageInterface::setSequence |
( |
DtU32 |
num | ) |
|
|
virtual |
Get/Set the sequence number.
| DtU32 DtVrfTDLMessageInterface::sequence |
( |
| ) |
const |
|
inlinevirtual |
Adds/removes callbacks to be notified when a VRF TDL message is received. Does not matter the type – it will be triggered for all messages.
| virtual void DtVrfTDLMessageInterface::setTransportTypeReliable |
( |
int |
contentType | ) |
|
|
virtual |
Sets the transport type for the given content type to be \iable.
| virtual void DtVrfTDLMessageInterface::setTransportTypeBestEffort |
( |
int |
contentType | ) |
|
|
virtual |
Sets the transport type for the given content type to be best-effort.
Since best-effort will be the default for all messages not explicitly set to another transport type, this is only necessary to undo a previous setting.
| virtual void DtVrfTDLMessageInterface::updateTransportTypeForMsg |
( |
const DtVrfTDLMessage & |
message | ) |
|
|
virtual |
Update the transportation type to be used based on the given message.
| static char* DtVrfTDLMessageInterface::dataInteractionChooser |
( |
DtExerciseConn * |
exConn, |
|
|
const DtInteraction & |
inter |
|
) |
| |
|
static |
Call this to receive a TDL message internally – this will not go out over the network.
The sender and recipient will be the address of this exercise connection
Reimplemented in DtVrfTDLMsgPrinter.
Get/Set the factory used for creating interface content msgs.
| virtual bool DtVrfTDLMessageInterface::setContentForNet |
( |
DtDataInteraction * |
dataInter, |
|
|
DtVrfTDLMessage & |
content |
|
) |
| const |
|
protectedvirtual |
| static void DtVrfTDLMessageInterface::netMessageCallback |
( |
DtDataInteraction * |
dataInter, |
|
|
void * |
usr |
|
) |
| |
|
staticprotected |
| virtual void DtVrfTDLMessageInterface::receiveMessage |
( |
DtDataInteraction * |
dataInter | ) |
|
|
protectedvirtual |
Process a received data interaction from the network.
| virtual bool DtVrfTDLMessageInterface::matchPattern |
( |
const DtSimulationAddress & |
address, |
|
|
const DtSimulationAddress & |
pattern |
|
) |
| const |
|
protectedvirtual |
| virtual bool DtVrfTDLMessageInterface::getContentFromNet |
( |
DtDataInteraction * |
dataInter, |
|
|
DtVrfTDLMessage *& |
content |
|
) |
| const |
|
protectedvirtual |
Create/set objects based on DtDataInteraction information.
Reimplemented in DtVrfTDLMsgPrinter.
| virtual void DtVrfTDLMessageInterface::invokeCallbacks |
( |
DtVrfTDLMessage * |
| ) |
|
|
protectedvirtual |
Invokes callbacks for a particular VRF TDL message.
Member Data Documentation
| DtExerciseConn* DtVrfTDLMessageInterface::myExerciseConnection |
|
protected |
| DtU32 DtVrfTDLMessageInterface::mySequenceNumber |
|
protected |
| bool DtVrfTDLMessageInterface::myAllowReliableDataInteractions |
|
protected |
| bool DtVrfTDLMessageInterface::myUseReliableTransport |
|
protected |
| bool DtVrfTDLMessageInterface::myCreatedInterfaceFactory |
|
protected |
| std::set<int> DtVrfTDLMessageInterface::myContentTypesToSendReliable |
|
protected |
Set of content types to be sent via reliable transport.
The documentation for this class was generated from the following file: