VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmodel
cruiseMisLaunchCtlr.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjcore/singleTaskControllerComponent.h
"
15
16
class
DtIfPlan
;
17
class
DtCruiseMissileLaunchControllerDescriptor
;
18
class
DtCruiseMissileLaunchControllerPSR
;
19
35
36
#include "
vrfmodel/vrfmodelDefines.h
"
37
class
DT_DLL_vrfmodel
DtCruiseMissileLaunchController
:
public
DtSingleTaskControllerComponent
38
{
39
private
:
41
DtCruiseMissileLaunchController
();
43
DtCruiseMissileLaunchController
(
const
DtCruiseMissileLaunchController
& orig);
45
DtCruiseMissileLaunchController
&
operator=
(
const
DtCruiseMissileLaunchController
& orig);
46
47
public
:
48
51
DtCruiseMissileLaunchController
(
const
DtString
&name,
DtVrfObject
* owner,
52
DtSimManager
* simManager,
DtComponentDescriptor
* compDesc = 0,
53
DtReaderWriterRegistry
* parentRegistry = 0);
54
56
virtual
~
DtCruiseMissileLaunchController
();
57
60
virtual
DtString
type
()
const
;
61
64
virtual
bool
init
();
65
67
virtual
void
setComponentDescriptor
(
DtComponentDescriptor
*compDesc);
68
74
virtual
bool
createPSR();
75
80
virtual
void
tick
();
81
85
static
DtSimComponent
* creator(
const
DtString
& name,
86
DtVrfObject
* owner,
87
DtSimManager
* simManager,
88
DtComponentDescriptor
* desc = 0,
89
DtReaderWriterRegistry
* parentRegistry = 0);
90
91
protected
:
93
virtual
void
registerRadioMessageCallbacks();
94
97
virtual
bool
missileResourceAvailable()
const
;
98
100
virtual
void
consumeMissileResource();
101
105
virtual
DtVrfObject
* createMissileObject();
106
109
virtual
DtIfPlan
createMissilePlan(
const
DtString
& missileName);
110
113
virtual
void
createAndSendFireInteraction(
DtVrfObject
* missile,
114
const
DtEventId& eventId);
115
117
virtual
void
addRangeItems();
118
119
protected
:
121
DtCruiseMissileLaunchControllerDescriptor
*
myDescriptor
;
122
125
DtCruiseMissileLaunchControllerPSR
*
myProcessState
;
126
127
};
128
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
)