MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
DtRecipientLatencyTest Class Reference

DtRecipientLatencyTest runs network connectivity tests between local RTI components. More...

+ Inheritance diagram for DtRecipientLatencyTest:
+ Collaboration diagram for DtRecipientLatencyTest:

Public Member Functions

 DtRecipientLatencyTest (DtTestManager *parent)
 Constructor. More...
 
 DtRecipientLatencyTest ()
 Constructor. More...
 
virtual ~DtRecipientLatencyTest ()
 Destructor. More...
 
virtual bool tick ()
 Process test activities. More...
 
virtual void addSendInteractionTimeStamp (unsigned int testID)
 Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a send Interaction time stamp. More...
 
virtual void addNetSendTimeStamp (unsigned int testID, DtRtiMsg &msg)
 Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net send time stamp. More...
 
virtual void addNetReceiveTimeStamp (unsigned int testID, const DtRtiMsg &msg)
 Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net receive time stamp. More...
 
virtual void addReceiveInteractionTimeStamp (unsigned int testID, MAKRti::DtTime timeToUse)
 Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a receive interaction time stamp. More...
 
virtual void addAsyncQueueMsgTimeStamp (unsigned int testID, const DtRtiMsg &msg)
 Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a async Queue Msg time stamp. More...
 
- Public Member Functions inherited from DtLatencyTest
 DtLatencyTest (DtTestManager *parent)
 Constructor. More...
 
 DtLatencyTest ()
 Default constructor. Not implemented. More...
 
virtual ~DtLatencyTest ()
 Destructor. More...
 
virtual void postJoinInit ()
 Perform initializations that will allow tests to be run (e.g., publish and subscribe to test interaction) More...
 
virtual void resign ()
 Perform clean up from test instrumentation. More...
 
virtual void addTransportTypeForTestID (unsigned int testID, MAKRti::DtTransportType type)
 Add a mapping for this testID to this transport type. More...
 
virtual MAKRti::DtTransportType transportTypeForTestID (unsigned int testID) const
 look up the transport type for this testID. More...
 
virtual void removeKnowledgeOfTestId (unsigned int testID)
 Remove knowledge of this testID. More...
 
MAKRti::DtTime time () const
 

Private Member Functions

 DtRecipientLatencyTest (DtRecipientLatencyTest const &orig)
 Copy Constructor - not allowed. More...
 
DtRecipientLatencyTestoperator= (DtRecipientLatencyTest const &orig)
 Assignment operator - not allowed. More...
 

Additional Inherited Members

- Protected Types inherited from DtLatencyTest
typedef std::multimap
< DtMetadataType,
MAKRti::DtTime > 
DtTimeStampMap
 
typedef std::map< unsigned int,
DtTimeStampMap
DtTestToTimeStampMap
 
typedef std::multimap
< DtFederateHandle, unsigned
int > 
DtFedHandleToTestMap
 
- Protected Attributes inherited from DtLatencyTest
DtTestManagermyTestManager
 
DtTestToTimeStampMap myTestsInProgressTimeStamps
 TimeStamp storage (by testID) of all my known tests. More...
 
std::map< unsigned int,
MAKRti::DtTransportType > 
myTransportByTestID
 

Detailed Description

DtRecipientLatencyTest runs network connectivity tests between local RTI components.

Constructor & Destructor Documentation

DtRecipientLatencyTest::DtRecipientLatencyTest ( DtTestManager parent)

Constructor.

DtRecipientLatencyTest::DtRecipientLatencyTest ( )

Constructor.

virtual DtRecipientLatencyTest::~DtRecipientLatencyTest ( )
virtual

Destructor.

DtRecipientLatencyTest::DtRecipientLatencyTest ( DtRecipientLatencyTest const &  orig)
private

Copy Constructor - not allowed.

Member Function Documentation

virtual void DtRecipientLatencyTest::addAsyncQueueMsgTimeStamp ( unsigned int  testID,
const DtRtiMsg msg 
)
virtual

Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a async Queue Msg time stamp.

Implements DtLatencyTest.

virtual void DtRecipientLatencyTest::addNetReceiveTimeStamp ( unsigned int  testID,
const DtRtiMsg msg 
)
virtual

Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net receive time stamp.

Implements DtLatencyTest.

virtual void DtRecipientLatencyTest::addNetSendTimeStamp ( unsigned int  testID,
DtRtiMsg msg 
)
virtual

Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a net send time stamp.

Implements DtLatencyTest.

virtual void DtRecipientLatencyTest::addReceiveInteractionTimeStamp ( unsigned int  testID,
MAKRti::DtTime  timeToUse 
)
virtual

Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a receive interaction time stamp.

Implements DtLatencyTest.

virtual void DtRecipientLatencyTest::addSendInteractionTimeStamp ( unsigned int  testID)
virtual

Record the current time and associate it with the input test ID in myTestsInProgressTimeStamp with a send Interaction time stamp.

Implements DtLatencyTest.

DtRecipientLatencyTest& DtRecipientLatencyTest::operator= ( DtRecipientLatencyTest const &  orig)
private

Assignment operator - not allowed.

virtual bool DtRecipientLatencyTest::tick ( )
virtual

Process test activities.

Reimplemented from DtLatencyTest.


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

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)