13 #ifndef DtTestInteraction_H_
14 #define DtTestInteraction_H_
22 #include <vlutil/vlString.h>
23 #include <vlutil/vlFedTarget.h>
45 virtual const MAKRti::DtString& className()
const;
53 virtual const DtPhvps& parameters() = 0;
57 virtual bool setFromParameters(
const DtPhvps& phvps) = 0;
66 virtual void setTransportType(MAKRti::DtTransportType transport);
69 virtual void setPayloadSize(
unsigned int payload);
72 virtual unsigned int payloadSize()
const;
75 virtual MAKRti::DtU32 testId()
const;
78 virtual void setTestId(
unsigned int id);
83 virtual void encodeTargetFederate();
86 virtual void encodeTestId();
89 virtual void encodePayload();
93 static bool decodeU32(
96 MAKRti::DtU32& value);
100 static bool decodeU64(
103 MAKRti::DtU64& value);
107 virtual bool decodeTargetFederate(
113 virtual bool decodeTestId(
119 virtual bool decodePayload(
133 static const MAKRti::DtString theNameTargetFederate;
145 #if !defined(DtIFSPEC13)
static const MAKRti::DtString theNameTestId
Parameter name.
Definition: testInteraction.h:135
DtPhvps * myParameters
Definition: testInteraction.h:144
static const MAKRti::DtString theInteractionName
Definition: testInteraction.h:190
MAKRti::DtU32 myTestId
Parameter value.
Definition: testInteraction.h:159
DtInteractionClassHandle myClassHandle
Definition: testInteraction.h:143
DtLatencyTestInteraction holds the data needed to send a test latency interaction.
Definition: testInteraction.h:164
DtHandle DtInteractionClassHandle
Definition: internalTypes.h:52
MAKRti::DtString myClassName
Definition: testInteraction.h:142
DtTestInteraction & operator=(DtTestInteraction const &orig)
Assignment operator - not allowed.
virtual bool setFromParameters(const DtPhvps &phvps)=0
Initialize this interaction using the given parameters Return true if parameters were set successfull...
DtParameterHandle myHandleTestId
Parameter handle.
Definition: testInteraction.h:152
DtHandle DtFederateHandle
Definition: internalTypes.h:46
virtual const DtPhvps & parameters()=0
Return the parameter handle value pair set Calling this accessor results in the encoding of member da...
RTI_API::ParameterHandleValueMap myValueMap
Definition: testInteraction.h:146
MAKRti::DtU32 myPayloadSize
Parameter value.
Definition: testInteraction.h:160
void DT_DLL_LRC addTestToFom(DtFomClassMgr &fom)
Incorporate interactions into the FOM.
DtFomClassMgr * myFomMgr
Definition: testInteraction.h:141
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
Definition: pHandValSet.h:38
The declaration of internal types.
DtHandle DtParameterHandle
Definition: internalTypes.h:56
DtParameterHandle myDataHandle
Definition: testInteraction.h:194
DtParameterHandle myHandlePayload
Parameter handle.
Definition: testInteraction.h:153
std::map< ParameterHandle, VariableLengthData > ParameterHandleValueMap
Definition: Typedefs.h:44
static const MAKRti::DtString theNamePayload
Parameter name.
Definition: testInteraction.h:136
DtTestInteraction holds the data needed to send a test interaction An instance of this interaction be...
Definition: testInteraction.h:34