VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrftasks
flightCommandTasks.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrftasks/vrftasksDefines.h
"
12
#include "
vrftasks/simTask.h
"
13
#include "
vrfutil/rwReal.h
"
14
#include "
vrfutil/rwBoolean.h
"
15
19
class
DT_DLL_vrftasks
DtFlyAltitudeTask
:
public
DtSimTask
20
{
21
public
:
23
DtFlyAltitudeTask
();
24
26
DtFlyAltitudeTask
(
const
DtString
& writeName,
27
DtReaderWriterRegistry
* parentRegistry = 0);
28
30
DtFlyAltitudeTask
(
const
DtString
& writeName,
const
DtFlyAltitudeTask
& orig,
31
DtReaderWriterRegistry
* parentRegistry = 0);
32
34
const
DtFlyAltitudeTask
&
operator=
(
const
DtFlyAltitudeTask
& orig);
35
36
virtual
~
DtFlyAltitudeTask
();
37
39
virtual
const
DtSimTaskMessageType
&
type
()
const
;
40
41
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
42
parentRegistry = 0)
const
;
43
45
virtual
DtString
stringRep
()
const
;
46
48
49
virtual
double
altitude()
const
;
50
virtual
void
setAltitude(
double
altitude);
52
56
57
virtual
double
climbDescentRate()
const
;
58
virtual
void
setClimbDescentRate(
double
rate);
60
63
virtual
int
netRepSize
()
const
;
64
66
virtual
bool
setFromNet
(
const
char
* contentBuffer,
67
unsigned
contentSize);
68
71
virtual
bool
setToNet
();
72
73
static
DtSimTask
* creator();
74
77
static
double
theDefaultClimbDescentRate();
78
79
protected
:
80
DtRwReal
myAltitude
;
81
DtRwReal
myClimbDescentRate
;
82
};
83
85
89
class
DT_DLL_vrftasks
DtFlyHeadingTask
:
public
DtSimTask
90
{
91
public
:
93
DtFlyHeadingTask
();
94
96
DtFlyHeadingTask
(
const
DtString
& writeName,
97
DtReaderWriterRegistry
* parentRegistry = 0);
98
100
DtFlyHeadingTask
(
const
DtString
& writeName,
const
DtFlyHeadingTask
& orig,
101
DtReaderWriterRegistry
* parentRegistry = 0);
102
104
const
DtFlyHeadingTask
&
operator=
(
const
DtFlyHeadingTask
& orig);
105
106
virtual
~
DtFlyHeadingTask
();
107
109
virtual
const
DtSimTaskMessageType
&
type
()
const
;
110
111
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
112
parentRegistry = 0)
const
;
113
115
virtual
DtString
stringRep
()
const
;
116
118
119
virtual
double
heading()
const
;
120
virtual
void
setHeading(
double
heading);
122
125
126
virtual
double
turnRate()
const
;
127
virtual
void
setTurnRate(
double
rate);
129
135
136
virtual
int
turnDirection()
const
;
137
virtual
void
setTurnDirection(
int
direction);
139
142
virtual
int
netRepSize
()
const
;
143
145
virtual
bool
setFromNet
(
const
char
* contentBuffer,
146
unsigned
contentSize);
147
150
virtual
bool
setToNet
();
151
152
static
DtSimTask
* creator();
153
156
static
double
theDefaultTurnRate();
157
158
protected
:
159
DtRwReal
myHeading
;
160
DtRwReal
myTurnRate
;
161
DtRwInt
myTurnDirection
;
162
};
163
165
169
class
DT_DLL_vrftasks
DtFlyHeadingAndAltitudeTask
:
public
DtSimTask
170
{
171
public
:
173
DtFlyHeadingAndAltitudeTask
();
174
176
DtFlyHeadingAndAltitudeTask
(
const
DtString
& writeName,
177
DtReaderWriterRegistry
* parentRegistry = 0);
178
180
DtFlyHeadingAndAltitudeTask
(
const
DtString
& writeName,
const
DtFlyHeadingAndAltitudeTask
& orig,
181
DtReaderWriterRegistry
* parentRegistry = 0);
182
184
const
DtFlyHeadingAndAltitudeTask
&
operator=
(
const
DtFlyHeadingAndAltitudeTask
& orig);
185
186
virtual
~
DtFlyHeadingAndAltitudeTask
();
187
189
virtual
const
DtSimTaskMessageType
&
type
()
const
;
190
191
virtual
DtSimTask
*
clone
(
const
DtString
& name,
DtReaderWriterRegistry
*
192
parentRegistry = 0)
const
;
193
195
virtual
DtString
stringRep
()
const
;
196
198
199
virtual
double
altitude()
const
;
200
virtual
void
setAltitude(
double
altitude);
202
206
207
virtual
double
climbDescentRate()
const
;
208
virtual
void
setClimbDescentRate(
double
rate);
210
212
213
virtual
double
heading()
const
;
214
virtual
void
setHeading(
double
heading);
216
219
220
virtual
double
turnRate()
const
;
221
virtual
void
setTurnRate(
double
rate);
223
229
230
virtual
int
turnDirection()
const
;
231
virtual
void
setTurnDirection(
int
direction);
233
236
virtual
int
netRepSize
()
const
;
237
239
virtual
bool
setFromNet
(
const
char
* contentBuffer,
240
unsigned
contentSize);
241
244
virtual
bool
setToNet
();
245
246
static
DtSimTask
* creator();
247
248
protected
:
249
DtRwReal
myHeading
;
250
DtRwReal
myTurnRate
;
251
DtRwReal
myAltitude
;
252
DtRwReal
myClimbDescentRate
;
253
DtRwInt
myTurnDirection
;
254
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)