VR-Forces 4.3 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
organizationController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2002 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
#pragma once
12
13
14
#include "
vrfobjcore/controllerComponent.h
"
15
#include "
vrfobjcore/simRadio.h
"
16
17
class
DtSimMessage
;
18
class
DtVrfObject
;
19
28
#include "
vrfmodel/vrfmodelDefines.h
"
29
class
DT_DLL_vrfmodel
DtOrganizationController
:
public
DtControllerComponent
30
{
31
32
private
:
35
DtOrganizationController
();
36
37
public
:
38
41
DtOrganizationController
(
const
DtString
& name,
42
DtVrfObject
* owner,
43
DtSimManager
* simManager,
44
DtComponentDescriptor
* desc = 0,
45
DtReaderWriterRegistry
* parentRegistry = 0);
46
48
DtOrganizationController
(
const
DtOrganizationController
& orig);
49
51
const
DtOrganizationController
&
operator=
(
const
52
DtOrganizationController
& orig);
53
55
virtual
~
DtOrganizationController
();
56
57
virtual
bool
init
();
58
61
virtual
DtString
type
()
const
;
62
65
virtual
void
tick
();
66
71
virtual
bool
generateEchelonId(
int
designator);
72
74
virtual
void
processSetDesignator(
DtSimMessage
* msg);
75
76
static
void
setDesignatorCallback(
DtSimMessage
* msg,
void
* usrData);
77
81
static
DtSimComponent
* creator(
const
DtString
& name,
82
DtVrfObject
* owner,
83
DtSimManager
* simManager,
84
DtComponentDescriptor
* desc = 0,
85
DtReaderWriterRegistry
* parentRegistry = 0);
86
90
virtual
bool
tickWhileDestroyed
()
const
;
91
92
protected
:
94
virtual
void
setRadio
(
DtSimRadio
* radio);
95
97
int
myRequestedDesignator
;
98
99
};
100
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)