VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DistributedSimulationDriver3C.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 class DtReflectedEntity;
16 
17 namespace makVrv
18 {
19 namespace tutorialDistributedSimulation3C
20 {
21 
23 {
24 public:
25 
28 
31 
33  virtual const std::string& className() const;
34 
35 protected:
36 
39  virtual bool onStart();
40 
42  virtual bool onStop();
43 
45  virtual bool onTick();
46 
47  static void processReflectedEntityAdditionCb(DtReflectedEntity *reflectedObj, void *usr);
48  static void processReflectedEntityRemovalCb(DtReflectedEntity *reflectedObj, void *usr);
49 
50  virtual void processReflectedEntityAdd(DtReflectedEntity *reflectedObj) const;
51  virtual void processReflectedEntityRemove(DtReflectedEntity *reflectedObj) const;
52 
53 protected:
54 
55  DtExerciseConn* myConnection;
58 };
59 
60 }
61 }
virtual void processReflectedEntityAdd(DtReflectedEntity *reflectedObj) const
DtReflectedEntityList * myReflectedEntityList
Definition: DistributedSimulationDriver3C.h:57
virtual void processReflectedEntityRemove(DtReflectedEntity *reflectedObj) const
DtExerciseConn * myConnection
Definition: DistributedSimulationDriver3C.h:55
virtual bool onStop()
Called when the driver is stopped by the display engine.
Definition: DistributedSimulationDriver3C.h:22
The DtDriver is an abstract class.
Definition: DtDriver.h:31
virtual bool onStart()
Called when the driver is started by the display engine Restores state that existed the last time the...
bool myConnectionState
Definition: DistributedSimulationDriver3C.h:56
virtual bool onTick()
Tick the driver. If this driver needs to perform actions per the sim clock.
static void processReflectedEntityAdditionCb(DtReflectedEntity *reflectedObj, void *usr)
DistributedSimulationDriver(DtAgentManager &agentManager, const std::string &instanceName)
CTOR.
The DtAgentManager manages the distributed scene object framework.
Definition: DtAgentManager.h:38
static void processReflectedEntityRemovalCb(DtReflectedEntity *reflectedObj, void *usr)
Contains makVrv:DtDriver class.
virtual const std::string & instanceName() const
Get this driver&#39;s instance name.
virtual const std::string & className() const
Get the class name as a string.
DtAgentManager & agentManager()
Get the master scene for this host.

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)