18 class DtSceneObjectAgent;
21 namespace tutorialDistributedSimulation4B
35 virtual const std::string&
className()
const;
DtModelAgent * mySimpleModel
Definition: DistributedSimulationDriver4B.h:54
DtExerciseConn * myConnection
Definition: DistributedSimulationDriver4B.h:51
double myRotationDegree
Definition: DistributedSimulationDriver4B.h:55
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.
virtual bool onStop()
Called when the driver is stopped by the display engine.
virtual ~DistributedSimulationDriver()
DTOR.
virtual const std::string & className() const
Get the class name as a string.
bool myConnectionState
Definition: DistributedSimulationDriver4B.h:52
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
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
Definition: DistributedSimulationDriver4B.h:24
DtSceneObjectAgent * mySceneObjectAgent
Definition: DistributedSimulationDriver4B.h:53
virtual const std::string & instanceName() const
Get this driver's instance name.
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...
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.