VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)