14 class DtDetonationPdu;
20 namespace tutorialDistributedSimulation3A
34 virtual const std::string&
className()
const;
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...
virtual const std::string & className() const
Get the class name as a string.
virtual void processDetonation(DtDetonationInteraction *inter) const
Called from static callback function processDetonationCb. Passes interaction data to the user object ...
virtual ~DistributedSimulationDriver()
DTOR.
Definition: DistributedSimulationDriver3A.h:23
virtual bool onStop()
Called when the driver is stopped by the display engine.
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.
bool myConnectionState
Definition: DistributedSimulationDriver3A.h:59
DistributedSimulationDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
The DtDriver is an abstract class. Developers derive from this to create logic that "directs" things ...
Definition: DtDriver.h:30
DtDetonationPdu DtDetonationInteraction
Definition: DistributedSimulationDriver3A.h:14
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
static void processDetonationCb(DtDetonationInteraction *inter, void *usr)
Static callback function takes detonation interaction and user object as parameters. Used to pass the interaction data on to the user object by calling processDetonation.
Contains makVrv:DtDriver class.
virtual const std::string & instanceName() const
Get this driver's instance name.
DtAgentManager & agentManager()
Get the master scene for this host. Do not create drivers using this agentManager, use the sceneInterface as it may replaced the implementation of the sceneInterface.
DtExerciseConn * myConnection
Definition: DistributedSimulationDriver3A.h:58