14 #ifndef DtLatencyTest_H_
15 #define DtLatencyTest_H_
23 #if !defined(DtIFSPEC13)
24 #include "RTI/RTIambassador.h"
27 #include <vlutil/vlString.h>
28 #include <vlutil/vlTime.h>
29 #include <vlutil/vlFedTarget.h>
47 averageInitiatorTickPeriod(0.0f),
48 averageRecipientTickPeriod(0.0f),
50 numbersAreReliable(false),
51 initiatorSendInteraction(0.0f),
52 initiatorNetSend(0.0f),
53 recipientNetRead(0.0f),
54 recipientQueueMsg(0.0f),
55 recipReceiveInteraction(0.0f),
56 recipientSendInteraction(0.0f),
57 recipientNetSend(0.0f),
58 initiatorNetRead(0.0f),
59 initiatorQueueMsg(0.0f),
60 initiatorReceiveInteraction(0.0f),
100 virtual void postJoinInit();
103 virtual void resign();
111 virtual void addSendInteractionTimeStamp(
unsigned int testID ) = 0;
116 virtual void addNetSendTimeStamp(
unsigned int testID,
DtRtiMsg& msg ) = 0;
121 virtual void addNetReceiveTimeStamp(
unsigned int testID,
const DtRtiMsg& msg ) = 0;
126 virtual void addReceiveInteractionTimeStamp(
unsigned int testID, MAKRti::DtTime timeToUse ) = 0;
131 virtual void addAsyncQueueMsgTimeStamp(
unsigned int testID,
const DtRtiMsg& msg ) = 0;
134 virtual void addTransportTypeForTestID(
unsigned int testID, MAKRti::DtTransportType type );
137 virtual MAKRti::DtTransportType transportTypeForTestID(
unsigned int testID )
const;
142 virtual void removeKnowledgeOfTestId(
unsigned int testID );
145 MAKRti::DtTime time()
const;
MAKRti::DtTime recipientQueueMsg
Definition: latencyTest.h:76
virtual Boolean tick(TickTime minimum, TickTime maximum)
DtTestManager * myTestManager
Definition: latencyTest.h:159
MAKRti::DtTime initiatorReceiveInteraction
Definition: latencyTest.h:82
float averageRecipientTickPeriod
Definition: latencyTest.h:68
DtAsynchronousIOModeEnum
0 == no Async IO 1 == Asynchronous IO, (same as old parameter RTI_asynchronousIO ) 2 == Asynchronous ...
Definition: RIDparams.h:111
This class manages the RTI's start-up configuration using both MTL variables and functions.
Definition: RIDparams.h:87
MAKRti::DtTime recipientNetSend
Definition: latencyTest.h:79
MAKRti::DtTime recipientNetRead
Definition: latencyTest.h:75
DtRIDParameters::DtAsynchronousIOModeEnum recipientAsyncMode
Definition: latencyTest.h:65
MAKRti::DtTime initiatorNetRead
Definition: latencyTest.h:80
std::map< unsigned int, MAKRti::DtTransportType > myTransportByTestID
Definition: latencyTest.h:170
MAKRti::DtString recipientName
Definition: latencyTest.h:83
MAKRti::DtTime initiatorSendInteraction
Definition: latencyTest.h:73
std::multimap< DtFederateHandle, unsigned int > DtFedHandleToTestMap
Definition: latencyTest.h:163
MAKRti::DtTime initiatorNetSend
Definition: latencyTest.h:74
Struct contains all report-worth details of a test.
Definition: latencyTest.h:41
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
DtTestToTimeStampMap myTestsInProgressTimeStamps
TimeStamp storage (by testID) of all my known tests.
Definition: latencyTest.h:168
std::map< unsigned int, DtTimeStampMap > DtTestToTimeStampMap
Definition: latencyTest.h:162
unsigned int sizeOfPayload
Definition: latencyTest.h:69
bool numbersAreReliable
Definition: latencyTest.h:71
DtLatencyTest runs network latency tests between local RTI components.
Definition: latencyTest.h:35
DtLatencyTestReportStruct()
Definition: latencyTest.h:43
DtRIDParameters::DtAsynchronousIOModeEnum initiatorAsyncMode
Definition: latencyTest.h:66
unsigned int testID
Definition: latencyTest.h:64
MAKRti::DtTime recipientSendInteraction
Definition: latencyTest.h:78
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
std::multimap< DtMetadataType, MAKRti::DtTime > DtTimeStampMap
Definition: latencyTest.h:161
DtTestManager runs network connectivity tests between local RTI components.
Definition: testManager.h:50
float averageInitiatorTickPeriod
Definition: latencyTest.h:67
MAKRti::DtTime recipReceiveInteraction
Definition: latencyTest.h:77
MAKRti::DtTime initiatorQueueMsg
Definition: latencyTest.h:81