11 #ifndef DtRtiExecCmdFunctor_H_
12 #define DtRtiExecCmdFunctor_H_
16 #include <vlutil/vlPrint.h>
17 #include <vlutil/vlInetAddr.h>
35 virtual void operator()(
const DtRtiExec& exec ) = 0;
43 if (
typeid(*
this) ==
typeid(value) )
59 DtRtiExecCmd(), myFedexName( fedexName ), myFederateHandle( fedHandle ) {}
74 DtRtiExecCmd(), myFedexName( fedexName), myEnabled (enabled ) {}
90 DtRtiExecCmd(), myFedexName( fedexName ), myFedexHandle( fedexHandle ) {}
105 const DtString& ridParam,
const DtString& ridValue) :
106 DtRtiExecCmd(), myFedexName( fedexName ), myFederateHandle( fedHandle ),
107 myRidParam(ridParam), myRidValue(ridValue) {}
112 {
return new DtChangeRidParamCmd( myFedexName, myFederateHandle, myRidParam, myRidValue ); }
126 DtRtiExecCmd(), myFedexName( fedexName ), myMsg( msg ) {}
131 {
return new DtSendMessageCmd( myFedexName, std::auto_ptr<DtRtiMsg>( myMsg->clone(
true ))); }
156 bool runTest,
bool continuousType,
bool shouldHaltContinuous,
157 bool observing,
unsigned int interactionPeriod,
158 unsigned int numInteractions,
unsigned int payloadBytes ) :
160 myFederateHandle( fedHandle ), myRunTest( runTest ),
161 myContinuousType( continuousType ),
162 myShouldHaltContinuous( shouldHaltContinuous ),
163 myObserving( observing ),
164 myInteractionPeriod( interactionPeriod ),
165 myNumInteractions( numInteractions ),
166 myPayloadBytes( payloadBytes ) {}
172 myRunTest, myContinuousType, myShouldHaltContinuous, myObserving,
173 myInteractionPeriod, myNumInteractions, myPayloadBytes ); }