VR-Forces 4.3.1 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
topLevelOrganizationController.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfmodel/aggregateOrganizationController.h
"
15
24
#include "
vrfmodel/vrfmodelDefines.h
"
25
class
DT_DLL_vrfmodel
DtTopLevelOrganizationController
:
public
DtAggregateOrganizationController
26
{
27
28
private
:
29
30
DtTopLevelOrganizationController
();
31
33
DtTopLevelOrganizationController
(
34
const
DtTopLevelOrganizationController
& orig);
35
37
DtTopLevelOrganizationController
&
operator=
(
38
const
DtTopLevelOrganizationController
& orig);
39
40
public
:
41
44
DtTopLevelOrganizationController
(
const
DtString
& name,
45
DtVrfObject
* owner,
46
DtSimManager
* simManager,
47
DtComponentDescriptor
* desc = 0,
48
DtReaderWriterRegistry
* parentRegistry = 0);
49
51
virtual
~
DtTopLevelOrganizationController
();
52
53
virtual
bool
init
();
54
57
virtual
DtString
type
()
const
;
58
61
virtual
void
tick
();
62
63
virtual
bool
generateEchelonId
(
int
designator);
64
68
static
DtSimComponent
*
creator
(
const
DtString
& name,
69
DtVrfObject
* owner,
70
DtSimManager
* simManager,
71
DtComponentDescriptor
* desc = 0,
72
DtReaderWriterRegistry
* parentRegistry = 0);
73
74
protected
:
75
79
virtual
void
setCommandNetRadioChannel
();
80
85
virtual
int
nextAvaliableDesignator
();
86
90
virtual
void
reorganize
();
91
95
virtual
bool
reorganizeNeeded
();
96
97
protected
:
98
typedef
std::set<int>
DtIntSet
;
102
DtIntSet
myDesignatorsIssuedThisTick
;
103
104
};
105
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)