VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfmodel
localEntitySetController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
13
#pragma once
14
15
#include "
vrfobjcore/controllerComponent.h
"
16
#include "
vrfobjcore/simRadio.h
"
17
#include "
vrfobjcore/localEntitySetControllerPSR.h
"
18
19
class
DtSimMessage
;
20
class
DtVrfObject
;
21
22
30
31
#include "
vrfmodel/vrfmodelDefines.h
"
32
class
DT_DLL_vrfmodel
DtLocalEntitySetController
:
public
DtControllerComponent
33
{
34
35
public
:
36
39
DtLocalEntitySetController
(
const
DtString
& name,
40
DtVrfObject
* owner,
41
DtSimManager
* simManager,
42
DtComponentDescriptor
* desc = 0,
43
DtReaderWriterRegistry
* parentRegistry = 0);
44
46
virtual
~
DtLocalEntitySetController
();
47
49
virtual
bool
init
();
50
53
virtual
DtString
type
()
const
;
54
55
virtual
void
processSetForce(
DtSimMessage
* msg);
56
virtual
void
processSetAppearance(
DtSimMessage
* msg);
57
virtual
void
processSetCapabilities(
DtSimMessage
* msg);
58
virtual
void
processSetAltitude(
DtSimMessage
* msg);
59
virtual
void
processSetResource(
DtSimMessage
* msg);
60
virtual
void
processSetSOR(
DtSimMessage
* msg);
61
virtual
void
processSetSpeed(
DtSimMessage
* msg);
62
virtual
void
processSetEngagementRules(
DtSimMessage
* msg);
63
virtual
void
processSetRestore(
DtSimMessage
* msg);
64
virtual
void
processSetConcealed(
DtSimMessage
* msg);
65
72
virtual
void
processSetLocation(
DtSimMessage
* msg);
73
74
virtual
void
processSetSuperior(
DtSimMessage
* msg);
75
78
virtual
void
setLocation(
DtVector
geocentricLocation);
79
81
virtual
void
setLocation(
DtVector
geocentricLocation,
bool
& dataAvailable);
82
89
virtual
void
processSetHeading(
DtSimMessage
* msg);
90
92
virtual
void
setHeading(DtReal heading);
93
95
virtual
void
enable
();
96
98
virtual
void
disable
();
99
102
virtual
void
tick
();
103
107
virtual
bool
tickWhileDestroyed
()
const
{
return
true
; }
108
116
virtual
bool
createPSR();
117
118
public
:
119
static
void
setHeadingCallback(
DtSimMessage
* msg,
void
* usrData);
120
static
void
setForceCallback(
DtSimMessage
* msg,
void
* usrData);
121
static
void
setLocationCallback(
DtSimMessage
* msg,
void
* usrData);
122
static
void
setSuperiorCallback(
DtSimMessage
* msg,
void
* usrData);
123
static
void
setAppearanceCallback(
DtSimMessage
* msg,
void
* usrData);
124
static
void
setCapabilitiesCallback(
DtSimMessage
* msg,
void
* usrData);
125
static
void
setAltitudeCallback(
DtSimMessage
* msg,
void
* usrData);
126
static
void
setResourceCallback(
DtSimMessage
* msg,
void
* usrData);
127
static
void
setSORCallback(
DtSimMessage
* msg,
void
* usrData);
128
static
void
setSpeedCallback(
DtSimMessage
* msg,
void
* usrData);
129
static
void
setEngagementRulesCallback(
DtSimMessage
* msg,
void
* usrData);
130
static
void
setRestoreCallback(
DtSimMessage
* msg,
void
* usrData);
131
static
void
setConcealedCallback(
DtSimMessage
* msg,
void
* usrData);
132
136
static
DtSimComponent
* creator(
const
DtString
& name,
137
DtVrfObject
* owner,
138
DtSimManager
* simManager,
139
DtComponentDescriptor
* desc = 0,
140
DtReaderWriterRegistry
* parentRegistry = 0);
141
142
protected
:
145
DtLocalEntitySetController
();
146
148
DtLocalEntitySetController
(
const
DtLocalEntitySetController
& orig);
149
151
const
DtLocalEntitySetController
&
operator=
(
const
152
DtLocalEntitySetController
& orig);
153
154
155
protected
:
157
virtual
void
setRadio
(
DtSimRadio
* radio);
158
161
virtual
void
addSetDataCallbacks();
162
165
void
removeSetDataCallbacks();
166
167
protected
:
169
DtVrfObject
*
myLocalEntity
;
170
173
DtLocalEntitySetControllerPSR
*
myProcessState
;
174
};
175
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)