VR-Forces Development_Version 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
fixedWingGunneryController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjcore/controllerComponent.h
"
15
#include "
vrfobjparam/fixedWingGunneryControllerDescriptor.h
"
16
#include "
vrfobjcore/entityTargetInformation.h
"
17
18
20
class
DtEntityListInputPort
;
21
class
DtVrfTurretedBalGunPSR
;
22
28
#include "
vrfmodel/vrfmodelDefines.h
"
29
class
DT_DLL_vrfmodel
DtFixedWingGunneryController
:
public
DtControllerComponent
30
{
31
32
public
:
33
36
DtFixedWingGunneryController
(
const
DtString
& name,
37
DtVrfObject
* owner,
38
DtSimManager
* simManager,
39
DtComponentDescriptor
* desc = 0,
40
DtReaderWriterRegistry
* parentRegistry = 0);
41
43
virtual
~
DtFixedWingGunneryController
();
44
47
virtual
const
char
*
type
()
const
;
48
50
virtual
bool
init
();
51
55
virtual
bool
postAddComponentsInit
();
56
60
virtual
void
tick
();
61
65
static
DtSimComponent
* creator(
const
DtString
& name,
66
DtVrfObject
* owner,
67
DtSimManager
* simManager,
68
DtComponentDescriptor
* desc = 0,
69
DtReaderWriterRegistry
* parentRegistry = 0);
70
74
virtual
double
entryAltitude()
const
;
75
virtual
double
entryAirspeed()
const
;
76
virtual
double
diveAngle()
const
;
77
virtual
double
strafeRange()
const
;
78
virtual
double
aaEngageRange()
const
;
79
virtual
double
aaBreakoffRange()
const
;
81
87
static
DtReaderWriter
* provideEntryAltitude(
void
* controller);
88
static
DtReaderWriter
* provideEntryAirspeed(
void
* controller);
89
static
DtReaderWriter
* provideDiveAngle(
void
* controller);
90
static
DtReaderWriter
* provideStrafeRange(
void
* controller);
91
static
DtReaderWriter
* provideAaEngageRange(
void
* controller);
92
static
DtReaderWriter
* provideAaBreakoffRange(
void
* controller);
94
95
protected
:
96
98
DtFixedWingGunneryController
();
99
101
DtFixedWingGunneryController
(
const
DtFixedWingGunneryController
& orig);
102
104
const
DtFixedWingGunneryController
&
operator=
(
const
DtFixedWingGunneryController
&
105
orig);
106
108
virtual
bool
createPorts
();
109
117
virtual
void
lookupAndCacheProcessSR();
118
120
virtual
DtVrfObject
* chooseTarget(
const
DtEntityTargetList& targetList);
121
123
const
DtFixedWingGunneryControllerDescriptor
*
myFixedWingGunneryControllerDescriptor
;
124
127
133
DtEntityListInputPort
*
myTargetListPort
;
134
136
142
DtVrfTurretedBalGunPSR
*
myProcessState
;
143
};
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)