VR-Forces 4.6 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
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
const
char
*
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
processSetCurrentSpeed(
DtSimMessage
* msg);
63
virtual
void
processSetEngagementRules(
DtSimMessage
* msg);
64
virtual
void
processSetRestore(
DtSimMessage
* msg);
65
virtual
void
processSetConcealed(
DtSimMessage
* msg);
66
virtual
void
processSetInvisible(
DtSimMessage
* msg);
67
virtual
void
processSetAiEnabled(
DtSimMessage
* msg);
68
75
virtual
void
processSetLocation(
DtSimMessage
* msg);
76
77
virtual
void
processSetSuperior(
DtSimMessage
* msg);
78
81
virtual
void
setLocation(
DtVector
geocentricLocation);
82
84
virtual
void
setLocation(
DtVector
geocentricLocation,
bool
& dataAvailable);
85
92
virtual
void
processSetHeading(
DtSimMessage
* msg);
93
95
virtual
void
setHeading(DtReal heading);
96
98
virtual
void
enable
();
99
101
virtual
void
disable
();
102
105
virtual
void
tick
();
106
110
virtual
bool
tickWhileDestroyed
()
const
{
return
true
; }
111
119
virtual
bool
createPSR();
120
121
public
:
122
static
void
setHeadingCallback(
DtSimMessage
* msg,
void
* usrData);
123
static
void
setForceCallback(
DtSimMessage
* msg,
void
* usrData);
124
static
void
setLocationCallback(
DtSimMessage
* msg,
void
* usrData);
125
static
void
setSuperiorCallback(
DtSimMessage
* msg,
void
* usrData);
126
static
void
setAppearanceCallback(
DtSimMessage
* msg,
void
* usrData);
127
static
void
setCapabilitiesCallback(
DtSimMessage
* msg,
void
* usrData);
128
static
void
setAltitudeCallback(
DtSimMessage
* msg,
void
* usrData);
129
static
void
setResourceCallback(
DtSimMessage
* msg,
void
* usrData);
130
static
void
setSORCallback(
DtSimMessage
* msg,
void
* usrData);
131
static
void
setSpeedCallback(
DtSimMessage
* msg,
void
* usrData);
132
static
void
setCurrentSpeedCallback(
DtSimMessage
* msg,
void
* usrData);
133
static
void
setEngagementRulesCallback(
DtSimMessage
* msg,
void
* usrData);
134
static
void
setRestoreCallback(
DtSimMessage
* msg,
void
* usrData);
135
static
void
setConcealedCallback(
DtSimMessage
* msg,
void
* usrData);
136
static
void
setInvisibleCallback(
DtSimMessage
* msg,
void
* usrData);
137
static
void
setAiEnabledCallback(
DtSimMessage
* msg,
void
* usrData);
138
142
static
DtSimComponent
* creator(
const
DtString
& name,
143
DtVrfObject
* owner,
144
DtSimManager
* simManager,
145
DtComponentDescriptor
* desc = 0,
146
DtReaderWriterRegistry
* parentRegistry = 0);
147
148
protected
:
151
DtLocalEntitySetController
();
152
154
DtLocalEntitySetController
(
const
DtLocalEntitySetController
& orig);
155
157
const
DtLocalEntitySetController
&
operator=
(
const
158
DtLocalEntitySetController
& orig);
159
160
161
protected
:
163
virtual
void
setRadio
(
DtSimRadio
* radio);
164
167
virtual
void
addSetDataCallbacks();
168
171
void
removeSetDataCallbacks();
172
173
protected
:
175
DtVrfObject
*
myLocalEntity
;
176
179
DtLocalEntitySetControllerPSR
*
myProcessState
;
180
};
181
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)