VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
tutorialDistributedSimulation3A
DistributedSimulationDriver3A.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
DtDetonationPdu;
15
16
typedef
DtDetonationPdu
DtDetonationInteraction
;
17
18
namespace
makVrv
19
{
20
namespace
tutorialDistributedSimulation3A
21
{
22
23
class
DistributedSimulationDriver
:
public
DtDriver
24
{
25
public
:
26
28
DistributedSimulationDriver
(DtAgentManager& agentManager,
const
std::string& instanceName);
29
31
virtual
~DistributedSimulationDriver
();
32
34
virtual
const
std::string&
className
()
const
;
35
36
protected
:
37
40
virtual
bool
onStart
();
41
43
virtual
bool
onStop
();
44
46
virtual
bool
onTick
();
47
50
static
void
processDetonationCb
(
DtDetonationInteraction
* inter,
void
* usr);
51
54
virtual
void
processDetonation
(
DtDetonationInteraction
* inter)
const
;
55
56
protected
:
57
58
DtExerciseConn*
myConnection
;
59
bool
myConnectionState
;
60
};
61
62
}
63
}
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
)