VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DistributedSimulationDriver2A.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 namespace tutorialDistributedSimulation2A
18 {
19 
21 {
22 public:
23 
26 
29 
31  virtual const std::string& className() const;
32 
33 protected:
34 
37  virtual bool onStart();
38 
40  virtual bool onStop();
41 
43  virtual bool onTick();
44 
45 protected:
46 
47  DtExerciseConn* myConnection;
49 };
50 
51 }
52 }
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.
Definition: DistributedSimulationDriver2A.h:20
DtExerciseConn * myConnection
Definition: DistributedSimulationDriver2A.h:47
The DtDriver is an abstract class.
Definition: DtDriver.h:31
DistributedSimulationDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
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.
DtAgentManager & agentManager()
Get the master scene for this host.
bool myConnectionState
Definition: DistributedSimulationDriver2A.h:48
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)