VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation3B
DistributedSimulationDriver3B.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
using namespace
makVrv;
14
15
class
DtExerciseConn;
16
class
DtDetonationPdu;
17
18
namespace
makVrv
19
{
20
namespace
tutorialDistributedSimulation3B
21
{
22
23
class
DistributedSimulationConnection
;
24
25
typedef
DtDetonationPdu
DtDetonationInteraction
;
26
27
class
DistributedSimulationDriver
:
public
DtDriver
28
{
29
public
:
30
32
DistributedSimulationDriver
(DtAgentManager& agentManager,
const
std::string& instanceName);
33
35
virtual
~
DistributedSimulationDriver
();
36
38
virtual
const
std::string& className()
const
;
39
40
protected
:
41
44
virtual
bool
onStart();
45
47
virtual
bool
onStop();
48
50
virtual
bool
onTick();
51
52
protected
:
53
54
void
processInteraction(
const
DtDetonationInteraction
& inter);
55
56
protected
:
57
58
DistributedSimulationConnection
*
mySimulation
;
59
};
60
61
}
62
}
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
)