VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
aggregatedSetController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
12
#pragma once
13
14
#include "
vrfmodel/lclEntSetCtlr.h
"
15
#include "
vrfobjcore/simRadio.h
"
16
#include "
vrftasks/simTask.h
"
17
18
class
DtVrfAggregateStateRepository
;
19
class
DtFormation
;
20
class
DtAggregatedResolutionPSR
;
21
class
DtAggregateObjectParameters
;
22
27
#include "
vrfmodel/vrfmodelDefines.h
"
28
class
DT_DLL_vrfmodel
DtAggregatedSetController
:
public
DtLocalEntitySetController
29
{
30
31
public
:
32
35
DtAggregatedSetController
(
const
DtString
& name,
36
DtVrfObject
* owner,
37
DtSimManager
* simManager,
38
DtComponentDescriptor
* desc = 0,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
virtual
~
DtAggregatedSetController
();
43
44
virtual
void
processSetTrueAggregateTaskNotify(
const
DtSimTask
&
task
);
45
48
virtual
void
enable
();
49
51
virtual
void
disable
();
52
54
virtual
bool
init
();
55
56
virtual
bool
postAddComponentsInit
();
57
58
public
:
59
60
static
void
setTrueAggregateTaskNotifyCallback(
61
const
DtSimTask
& task,
const
DtSimComponent
¬ifier,
void
* usr);
62
68
static
void
setFormationCallback(
DtSimMessage
* msg,
void
* usr);
69
73
static
DtSimComponent
*
creator
(
const
DtString
& name,
74
DtVrfObject
* owner,
75
DtSimManager
* simManager,
76
DtComponentDescriptor
* desc = 0,
77
DtReaderWriterRegistry
* parentRegistry = 0);
78
79
private
:
82
DtAggregatedSetController
();
83
85
DtAggregatedSetController
(
const
DtAggregatedSetController
& orig);
86
88
const
DtAggregatedSetController
&
operator=
(
const
89
DtAggregatedSetController
& orig);
90
91
92
protected
:
94
virtual
void
setRadio
(
DtSimRadio
* radio);
95
98
virtual
void
addSetDataCallbacks
();
99
102
void
removeSetDataCallbacks
();
103
107
virtual
void
processSetFormation(
DtSimMessage
* msg);
108
109
virtual
bool
getFormation(
const
DtString
& formationName,
110
const
DtAggregateObjectParameters
& parameterEntry,
DtFormation
& formation);
111
112
virtual
void
updateBoundingGeometry();
113
121
virtual
void
lookupAndCacheProcessSR();
122
123
protected
:
124
125
const
DtSimTask
*
mySimTask
;
126
127
DtVrfAggregateStateRepository
*
myAggregateStateRepository
;
128
134
DtAggregatedResolutionPSR
*
myAggregatedResolutionProcessState
;
135
};
136
137
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)