VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DistributedSimulationDriver4C.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCore/DtDriver.h>
12 
13 class DtExerciseConn;
14 
15 namespace makVrv
16 {
17 
18 class ExampleSimulationObjectAgent;
19 
20 namespace tutorialDistributedSimulation4C
21 {
22 
24 {
25 public:
26 
29 
32 
34  virtual const std::string& className() const;
35 
36 protected:
37 
40  virtual bool onStart();
41 
43  virtual bool onStop();
44 
46  virtual bool onTick();
47 
48 protected:
49 
50  DtExerciseConn* myConnection;
52  ExampleSimulationObjectAgent* myAgent;
54 };
55 
56 }
57 }
virtual bool onStop()
Called when the driver is stopped by the display engine.
ExampleSimulationObjectAgent * myAgent
Definition: DistributedSimulationDriver4C.h:52
Definition: DistributedSimulationDriver4C.h:23
virtual const std::string & className() const
Get the class name as a string.
DistributedSimulationDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
The DtDriver is an abstract class.
Definition: DtDriver.h:34
double myRotationDegree
Definition: DistributedSimulationDriver4C.h:53
bool myConnectionState
Definition: DistributedSimulationDriver4C.h:51
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
DtExerciseConn * myConnection
Definition: DistributedSimulationDriver4C.h:50
virtual const std::string & instanceName() const
Get this driver&#39;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.
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)