DtLatencyTest runs network latency tests between local RTI components.
More...
Detailed Description
DtLatencyTest runs network latency tests between local RTI components.
Member Typedef Documentation
Constructor & Destructor Documentation
| DtLatencyTest::DtLatencyTest |
( |
| ) |
|
Default constructor. Not implemented.
| virtual DtLatencyTest::~DtLatencyTest |
( |
| ) |
|
|
virtual |
Copy Constructor - not allowed.
Member Function Documentation
| virtual void DtLatencyTest::addAsyncQueueMsgTimeStamp |
( |
unsigned int |
testID, |
|
|
const DtRtiMsg & |
msg |
|
) |
| |
|
pure virtual |
called by either test initiator or test recipient.
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a async Queue Msg time stamp.
Implemented in DtInitiatorLatencyTest, and DtRecipientLatencyTest.
| virtual void DtLatencyTest::addNetReceiveTimeStamp |
( |
unsigned int |
testID, |
|
|
const DtRtiMsg & |
msg |
|
) |
| |
|
pure virtual |
called by either test initiator or test recipient.
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net receive metadata type.
Implemented in DtInitiatorLatencyTest, and DtRecipientLatencyTest.
| virtual void DtLatencyTest::addNetSendTimeStamp |
( |
unsigned int |
testID, |
|
|
DtRtiMsg & |
msg |
|
) |
| |
|
pure virtual |
called by either test initiator or test recipient.
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net send metadata type.
Implemented in DtInitiatorLatencyTest, and DtRecipientLatencyTest.
| virtual void DtLatencyTest::addReceiveInteractionTimeStamp |
( |
unsigned int |
testID, |
|
|
MAKRti::DtTime |
timeToUse |
|
) |
| |
|
pure virtual |
called by either test initiator or test recipient.
Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a receive Interaction metadata type.
Implemented in DtInitiatorLatencyTest, and DtRecipientLatencyTest.
| virtual void DtLatencyTest::addSendInteractionTimeStamp |
( |
unsigned int |
testID | ) |
|
|
pure virtual |
called by testMgr
called by either test initiator or test recipient. Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a send Interaction metadata type.
Implemented in DtInitiatorLatencyTest, and DtRecipientLatencyTest.
| virtual void DtLatencyTest::addTransportTypeForTestID |
( |
unsigned int |
testID, |
|
|
MAKRti::DtTransportType |
type |
|
) |
| |
|
virtual |
Add a mapping for this testID to this transport type.
Assignment operator - not allowed.
| virtual void DtLatencyTest::postJoinInit |
( |
| ) |
|
|
virtual |
Perform initializations that will allow tests to be run (e.g., publish and subscribe to test interaction)
| virtual void DtLatencyTest::removeKnowledgeOfTestId |
( |
unsigned int |
testID | ) |
|
|
virtual |
Remove knowledge of this testID.
Typically called when we're stored time stamps for a received message and then later determined it was not addressed to us.
| virtual void DtLatencyTest::resign |
( |
| ) |
|
|
virtual |
Perform clean up from test instrumentation.
| virtual bool DtLatencyTest::tick |
( |
| ) |
|
|
virtual |
| MAKRti::DtTime DtLatencyTest::time |
( |
| ) |
const |
| virtual MAKRti::DtTransportType DtLatencyTest::transportTypeForTestID |
( |
unsigned int |
testID | ) |
const |
|
virtual |
look up the transport type for this testID.
Member Data Documentation
TimeStamp storage (by testID) of all my known tests.
Tests are removed by the test recipient on netSend and by the test initiator on receiveInteraction.
| std::map<unsigned int, MAKRti::DtTransportType> DtLatencyTest::myTransportByTestID |
|
protected |
The documentation for this class was generated from the following file: