27 static std::string theName();
37 virtual void addInitChild(std::string name);
38 virtual void removeInitChild(std::string name);
43 void handleDisableStrategyMsg(
DtMessage* msg);
44 void handleEnableStrategyMsg(
DtMessage* msg);
DtMessageDelegate * myInitHandler
Definition: init.h:51
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
static std::string theStrategyName
Definition: init.h:49
This is the DtLinkStrategy class. It is the abstract base class for all derived strategies.
Definition: linkStrategy.h:24
DtClock * myClock
Definition: init.h:47
Used to set and maintain time in a simulation.
Definition: vlTime.h:25
This file contains typedefs used to represent objects in a protocol neutral way.
#define MANAGEDINTERFACE_MODULE_DLL
Definition: export.h:34
This is the DtMessage class.
Definition: message.h:20
DtMessageDelegate * myEnableStrategyHandler
Definition: init.h:54
The DtManagedInterface Class is a singleton that is used to manage the message flow between C# and th...
Definition: managedInterface.h:49
std::list< std::string > myInitChildren
Definition: init.h:56
virtual void tick()
Tick the strategy to give it some CPU time.
virtual void shutdown()
Shutdown the strategy and release any resources.
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
DtMessageDelegate * myDisableStrategyHandler
Definition: init.h:53
Defines the DtManagedInterface Singleton object that manages the message flow between C# and the rest...
Defines the base class for all strategies.
DtExerciseConn * myExConn
Definition: init.h:46
Delegate template for binding static or member functions for callback at later time The return type a...
Definition: delegate.h:69
DtMessageDelegate * mySimTimeHandler
Definition: init.h:52
virtual bool init()=0
Initialize the strategy.