VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DistributedSimulationDriver4A.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 #include <osg/PositionAttitudeTransform>
13 
14 class DtExerciseConn;
15 
16 namespace makVrv
17 {
18 namespace tutorialDistributedSimulation4A
19 {
20 
22 {
23 public:
24 
27 
30 
32  virtual const std::string& className() const;
33 
34 protected:
35 
38  virtual bool onStart();
39 
41  virtual bool onStop();
42 
44  virtual bool onTick();
45 
46 protected:
47 
49  DtExerciseConn* myConnection;
52 };
53 
54 }
55 }
virtual const std::string & className() const
Get the class name as a string.
Definition: DistributedSimulationDriver4A.h:21
osg::ref_ptr< osg::PositionAttitudeTransform > myPat
Definition: DistributedSimulationDriver4A.h:48
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.
DtExerciseConn * myConnection
Definition: DistributedSimulationDriver4A.h:49
bool myConnectionState
Definition: DistributedSimulationDriver4A.h:50
double myRotationDegree
Definition: DistributedSimulationDriver4A.h:51
The DtDriver is an abstract class.
Definition: DtDriver.h:34
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
virtual const std::string & instanceName() const
Get this driver&#39;s instance name.
DistributedSimulationDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
virtual bool onStop()
Called when the driver is stopped by the display engine.
DtAgentManager & agentManager()
Get the master scene for this host.
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...

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)