VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation4A
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
21
class
DistributedSimulationDriver
:
public
DtDriver
22
{
23
public
:
24
26
DistributedSimulationDriver
(
DtAgentManager
&
agentManager
,
const
std::string&
instanceName
);
27
29
virtual
~DistributedSimulationDriver
();
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
48
osg::ref_ptr<osg::PositionAttitudeTransform>
myPat
;
49
DtExerciseConn*
myConnection
;
50
bool
myConnectionState
;
51
double
myRotationDegree
;
52
};
53
54
}
55
}
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
)