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 ))); }
157 DtRtiExecCmd(), myWebSpyIpAddr( ipAddr ), myWebSpyPort( port ) {}
173 bool runTest,
bool continuousType,
bool shouldHaltContinuous,
174 bool observing,
unsigned int interactionPeriod,
175 unsigned int numInteractions,
unsigned int payloadBytes ) :
177 myFederateHandle( fedHandle ), myRunTest( runTest ),
178 myContinuousType( continuousType ),
179 myShouldHaltContinuous( shouldHaltContinuous ),
180 myObserving( observing ),
181 myInteractionPeriod( interactionPeriod ),
182 myNumInteractions( numInteractions ),
183 myPayloadBytes( payloadBytes ) {}
189 myRunTest, myContinuousType, myShouldHaltContinuous, myObserving,
190 myInteractionPeriod, myNumInteractions, myPayloadBytes ); }