VR-Forces 4.5 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
vrfobjparam
aggregateObjectParameters.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfobjparam/movingObjectParameters.h
"
14
#include "
vrfutil/rwBoolean.h
"
15
#include "
vrfutil/rwVector.h
"
16
#include "
vrfutil/soilList.h
"
17
#include "
vrfobjparam/vrfobjparamDefines.h
"
18
19
class
DtString
;
20
class
DtReaderWriterRegistry
;
21
class
DtFormationTable
;
22
class
DtFormation
;
23
class
DtEnvironment;
24
29
class
DT_DLL_vrfobjparam
DtAggregateObjectParameters
:
public
DtMovingObjectParameters
30
{
31
public
:
33
DtAggregateObjectParameters
(
const
DtString
& name = DtString::nullString(),
34
DtReaderWriterRegistry
* parentRegistry = NULL,
DtEnvironmentSP
env =
DtEnvironmentSP
(),
35
DtEnvValueSP* objectNode = NULL);
36
DtAggregateObjectParameters
(
const
DtSymbolString
& name,
37
DtReaderWriterRegistry
* parentRegistry = NULL,
DtEnvironmentSP
env =
DtEnvironmentSP
(),
38
DtEnvValueSP* objectNode = NULL);
39
40
protected
:
42
DtAggregateObjectParameters
(
const
DtAggregateObjectParameters
& orig,
43
const
DtString
& name = DtString::nullString(),
44
DtReaderWriterRegistry
* parentRegistry = NULL);
45
DtAggregateObjectParameters
(
const
DtAggregateObjectParameters
& orig,
46
const
DtSymbolString
& name,
47
DtReaderWriterRegistry
* parentRegistry = NULL);
48
49
public
:
50
const
DtAggregateObjectParameters
&
operator=
(
51
const
DtAggregateObjectParameters
& orig);
52
54
virtual
~
DtAggregateObjectParameters
();
55
56
virtual
bool
init
();
57
58
virtual
DtVrfObjectParameters
*
clone
(
const
DtString
& name =
59
DtString::nullString(),
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
60
virtual
DtVrfObjectParameters
*
clone
(
const
DtSymbolString
& name,
61
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
62
65
virtual
bool
inheritValues
(
const
DtVrfObjectParameters
* benefactor);
66
69
virtual
DtString
type
()
const
;
70
71
virtual
void
inheritValuesFromThisType
(
const
DtAggregateObjectParameters
*
72
benefactor);
73
77
virtual
DtFormation
* getFormation(
const
DtString
& formationName,
DtString
* retFormationName = NULL)
const
;
79
virtual
DtFormation
* getDefaultFormation()
const
;
80
82
virtual
DtFormationTable
* formationTable();
83
virtual
const
DtFormationTable
* formationTable()
const
;
84
86
virtual
bool
canHaveSubordinates()
const
;
87
virtual
void
setCanHaveSubordinates(
bool
);
88
89
protected
:
92
virtual
DtFormationTable
* createFormationTable(
const
DtSymbolString
& name,
93
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
94
95
public
:
96
98
static
DtVrfObjectParameters
*
creator
(
DtEnvironmentSP
env, DtEnvValueSP* objectNode);
99
100
protected
:
108
DtFormationTable
*
myFormationTable
;
109
114
DtRwBoolean
myCanHaveSubordinates
;
116
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)