13 class DtDetonationPdu;
19 class DtSceneObjectAgent;
22 namespace tutorialDistributedSimulation5
25 class DistributedSimulationConnection;
43 virtual const std::string&
className()
const;
Definition: DistributedSimulationDriver5.h:27
virtual const std::string & className() const
Get the class name as a string.
virtual bool onStop()
Called when the driver is stopped by the display engine.
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...
static void processDetonationCb(DtDetonationInteraction *inter, void *usr)
Static callback function takes detonation interaction and user object as parameters.
DistributedSimulationDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
DistributedSimulationConnection * mySimulation
Definition: DistributedSimulationDriver5.h:67
The DtDriver is an abstract class.
Definition: DtDriver.h:34
DtDetonationPdu DtDetonationInteraction
Definition: DistributedSimulationDriver3A.h:14
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
virtual ~DistributedSimulationDriver()
DTOR.
virtual const std::string & instanceName() const
Get this driver's instance name.
double myRotationDegree
Definition: DistributedSimulationDriver5.h:69
SceneObjectAndModelList mySceneObjectAgentsList
Definition: DistributedSimulationDriver5.h:68
Definition: DistributedSimulationConnection5.h:22
virtual void processDetonation(DtDetonationInteraction *inter)
Called from static callback function processDetonationCb.
DtAgentManager & agentManager()
Get the master scene for this host.
std::pair< DtSceneObjectAgent *, DtModelAgent * > SceneObjectAndModelPair
Typedefs describing a SceneObject/Model pair and a list of such pairs.
Definition: DistributedSimulationDriver5.h:32
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.
std::vector< SceneObjectAndModelPair > SceneObjectAndModelList
Definition: DistributedSimulationDriver5.h:33