VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation3C
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;
15
class
DtReflectedEntityList;
16
17
namespace
makVrv
18
{
19
namespace
tutorialDistributedSimulation3C
20
{
21
22
class
DistributedSimulationDriver
:
public
DtDriver
23
{
24
public
:
25
27
DistributedSimulationDriver
(DtAgentManager& agentManager,
const
std::string& instanceName);
28
30
virtual
~DistributedSimulationDriver
();
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
;
56
bool
myConnectionState
;
57
DtReflectedEntityList*
myReflectedEntityList
;
58
};
59
60
}
61
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)