VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation4B
DistributedSimulationDriver4B.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
DtSceneObjectAgent;
19
class
DtModelAgent;
20
21
namespace
tutorialDistributedSimulation4B
22
{
23
24
class
DistributedSimulationDriver
:
public
DtDriver
25
{
26
public
:
27
29
DistributedSimulationDriver
(
DtAgentManager
&
agentManager
,
const
std::string&
instanceName
);
30
32
virtual
~DistributedSimulationDriver
();
33
35
virtual
const
std::string&
className
()
const
;
36
37
protected
:
38
41
virtual
bool
onStart
();
42
44
virtual
bool
onStop
();
45
47
virtual
bool
onTick
();
48
49
protected
:
50
51
DtExerciseConn*
myConnection
;
52
bool
myConnectionState
;
53
DtSceneObjectAgent*
mySceneObjectAgent
;
54
DtModelAgent*
mySimpleModel
;
55
double
myRotationDegree
;
56
};
57
58
}
59
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)