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
include
vrfmodel
aggregatedSetController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
12
#pragma once
13
14
#include "
vrfmodel/localEntitySetController.h
"
15
#include "
vrfobjcore/simRadio.h
"
16
#include "
vrftasks/simTask.h
"
17
#include "
vrfobjcore/setDataManager.h
"
18
19
class
DtVrfAggregateStateRepository
;
20
class
DtFormation
;
21
class
DtAggregatedResolutionPSR
;
22
class
DtAggregateObjectParameters
;
23
28
#include "
vrfmodel/vrfmodelDefines.h
"
29
class
DT_DLL_vrfmodel
DtAggregatedSetController
:
public
DtLocalEntitySetController
30
{
31
32
public
:
33
36
DtAggregatedSetController
(
const
DtString
& name,
37
DtVrfObject
* owner,
38
DtSimManager
* simManager,
39
DtComponentDescriptor
* desc = 0,
40
DtReaderWriterRegistry
* parentRegistry = 0);
41
43
virtual
~
DtAggregatedSetController
();
44
45
virtual
void
processSetTrueAggregateTaskNotify(
const
DtSimTask
&
task
);
46
49
virtual
void
enable
();
50
51
virtual
bool
postAddComponentsInit
();
52
53
public
:
54
60
static
void
setEngagementResultsCallback(
DtSimMessage
* msg,
void
* usr);
61
62
static
void
setTrueAggregateTaskNotifyCallback(
63
const
DtSimTask
& task,
const
DtSimComponent
¬ifier,
void
* usr);
64
70
static
void
setFormationCallback(
DtSimMessage
* msg,
void
* usr);
71
77
static
void
setResupplyModeCallback(
DtSimMessage
* msg,
void
* usr);
78
84
static
void
setInvulnerableCallback(
DtSimMessage
* msg,
void
* usrData);
85
89
static
DtSimComponent
*
creator
(
const
DtString
& name,
90
DtVrfObject
* owner,
91
DtSimManager
* simManager,
92
DtComponentDescriptor
* desc = 0,
93
DtReaderWriterRegistry
* parentRegistry = 0);
94
96
virtual
void
tick
();
97
98
virtual
void
setIsEnabled
(
bool
yesNo);
99
100
private
:
103
DtAggregatedSetController
();
104
106
DtAggregatedSetController
(
const
DtAggregatedSetController
& orig);
107
109
const
DtAggregatedSetController
&
operator=
(
const
110
DtAggregatedSetController
& orig);
111
112
113
protected
:
114
118
virtual
void
processSetFormation(
DtSimMessage
* msg);
119
123
virtual
void
processSetEngagementResults(
DtSimMessage
* msg);
124
128
virtual
void
processSetResupplyMode(
DtSimMessage
* msg);
129
133
virtual
void
processSetStateProperties
(
DtSimMessage
* msg);
134
138
virtual
void
processSetInvulnerable(
DtSimMessage
* msg);
139
140
virtual
bool
getFormation(
const
DtString
& formationName,
141
const
DtAggregateObjectParameters
& parameterEntry,
DtFormation
& formation);
142
143
virtual
void
updateBoundingGeometry();
144
152
virtual
void
lookupAndCacheProcessSR();
153
155
virtual
void
initializeSetsToRegister
();
156
158
virtual
void
setRadio
(
DtSimRadio
* radio);
159
160
protected
:
161
162
const
DtSimTask
*
mySimTask
;
163
164
DtVrfAggregateStateRepository
*
myAggregateStateRepository
;
165
171
DtAggregatedResolutionPSR
*
myAggregatedResolutionProcessState
;
172
};
173
174
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
)