VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fixedWingEntityParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: fixWingPar.h,v $ $Revision: 1.28 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtFixedWingEntityParameters_H_
16 #define DtFixedWingEntityParameters_H_
17 
19 
20 #include "readerWriter/rwVector.h"
21 #include "vrfutil/rwAirSpeedType.h"
22 
23 class DtString;
25 
57 {
58 public:
59 
61  DtFixedWingEntityParameters (const DtString& name = DtString::nullString(),
62  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
64  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
65 
66 protected:
69  const DtString& name = DtString::nullString(),
70  DtReaderWriterRegistry* parentRegistry = NULL);
72  const DtSymbolString& name,
73  DtReaderWriterRegistry* parentRegistry = NULL);
74 
75 public:
77 
79  virtual ~DtFixedWingEntityParameters();
80 
81  virtual DtVrfObjectParameters* clone(const DtString& name = DtString::nullString(),
82  DtReaderWriterRegistry* parentRegistry = NULL) const;
83  virtual DtVrfObjectParameters* clone(const DtSymbolString& name,
84  DtReaderWriterRegistry* parentRegistry = NULL) const;
85 
88  virtual DtString type() const;
89 
92  virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
93 
95  benefactor);
96 
100 
103  virtual DtReal minLiftSpeed() const;
104  virtual void setMinLiftSpeed (DtReal minLiftSpeed);
106 
109  virtual DtReal maxAltitude() const;
110  virtual void setMaxAltitude (DtReal maxAltitude);
112 
115  virtual DtReal maxClimbRate() const;
116  virtual void setMaxClimbRate (DtReal maxClimbRate);
118 
121  virtual DtReal maxYawRate() const;
122  virtual void setMaxYawRate (DtReal maxYawRate);
124 
127  virtual DtReal maxPitchRate() const;
128  virtual void setMaxPitchRate (DtReal maxPitchRate);
130 
133  virtual DtReal maxRollRate() const;
134  virtual void setMaxRollRate (DtReal maxRollRate);
136 
139  virtual DtReal flapsDeceleration() const;
140  virtual void setFlapsDeceleration(DtReal decel);
142 
145  virtual DtReal orderedGroundSpeed() const;
146  virtual void setOrderedGroundSpeed (DtReal orderedGroundSpeed);
148 
151  virtual DtReal maxGroundSpeed() const;
152  virtual void setMaxGroundSpeed (DtReal maxGroundSpeed);
154 
157  virtual DtReal onGroundTolerance() const;
158  virtual void setOnGroundTolerance (DtReal onGroundTolerance);
160 
163  virtual DtReal maxGroundStoppingDeceleration() const;
164  virtual void setMaxGroundStoppingDeceleration(
165  DtReal maxGroundStoppingDeceleration);
167 
170  virtual DtReal groundTurningRadius() const;
171  virtual void setGroundTurningRadius (DtReal groundTurningRadius);
173 
176  virtual DtReal maxGroundSlope() const;
177  virtual void setMaxGroundSlope (DtReal maxGroundSlope);
179 
182  virtual bool onGround() const;
183  virtual void setOnGround(bool onGround);
185 
188  virtual const DtVector& noseSupport() const;
189  virtual void setNoseSupport (const DtVector& newNoseSupport);
191 
194  virtual DtReal orderedAirSpeed() const;
195  virtual void setOrderedAirSpeed(DtReal orderedAirSpeed);
197 
200  virtual DtAirSpeedType airSpeedType() const;
201  virtual void setAirSpeedType(DtAirSpeedType airSpeedType);
203 
205  virtual void setDefaults();
206 
208  virtual void copyValues (const DtFixedWingEntityParameters & orig);
209 
211  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
212 
213 protected:
217 
224 
230 
236 
243 
250 
257 
264 
271 
277 
284 
290 
296 
303 
310 
316 
322 
324 };
325 
326 #endif
Definition: rwAirSpeedType.h:32
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:59
DtRwReal myOrderedGroundSpeed
Parameter Name: ordered-ground-speed Parameter Description: The speed at which a fixed-wing entity at...
Definition: fixedWingEntityParameters.h:270
Definition: symbolString.h:20
virtual bool inheritValues(const DtVrfObjectParameters *benefactor)
DtRwBoolean myOnGround
Parameter Name: on-ground Parameter Description: Flag indicating whether or not entity is intially on...
Definition: fixedWingEntityParameters.h:309
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myMaxGroundStoppingDeceleration
Parameter Name: max-ground-stopping-deceleration Parameter Description: The maximum speed at which a ...
Definition: fixedWingEntityParameters.h:283
DT_DLL_readerWriter DtBoost::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
DtRwReal myMaxGroundSpeed
Parameter Name: max-ground-speed Parameter Description: Maximum speed when taxiing on the ground...
Definition: fixedWingEntityParameters.h:276
Definition: readerWriterRegistry.h:39
DtRwReal myMaxRollRate
Parameter Name: max-roll-rate Parameter Description: The maximum rate at which the entity can rotate ...
Definition: fixedWingEntityParameters.h:256
DtRwAirSpeedType myAirSpeedType
Parameter Name: air-speed-type Parameter Description: Speed type (Ground Speed, TAS, IAS, Mach) for ordered air speed.
Definition: fixedWingEntityParameters.h:321
DtRwReal myMaxClimbRate
Parameter Name: max-climb-rate Parameter Description: The maximum speed, that the plane can climb...
Definition: fixedWingEntityParameters.h:235
const DtMovingObjectParameters & operator=(const DtMovingObjectParameters &orig)
assignment operator
The moving-object-param parameter type is used for objects that are capable of movement, such as individual entities and aggregates.
Definition: movingObjectParameters.h:33
Contains the set of readable/writeable parameters assoicated with a fixed-wing entity.
Definition: fixedWingEntityParameters.h:56
virtual DtString type() const
Should return the type of object this is a parameter block for.
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
virtual void inheritValuesFromThisType(const DtMovingObjectParameters *benefactor)
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtAirSpeedType
Air Speed Type PDU enums.
Definition: rwAirSpeedType.h:24
DtRwReal myOnGroundTolerance
Parameter Name: on-ground-tolerance Parameter Description: The tolerance by which a fixed wing is con...
Definition: fixedWingEntityParameters.h:302
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwReal myMaxPitchRate
Parameter Name: max-pitch-rate Parameter Description: (Optional) The maximum rate this plane can pitc...
Definition: fixedWingEntityParameters.h:249
DtRwReal myMaxYawRate
Parameter Name: max-yaw-rate Parameter Description: The maximum rate at which the entity can rotate a...
Definition: fixedWingEntityParameters.h:242
DtRwReal myGroundTurningRadius
Parameter Name: ground-turning-radius Parameter Description: Turning radius used when entity is taxii...
Definition: fixedWingEntityParameters.h:289
DtRwReal myOrderedAirSpeed
Parameter Name: ordered-air-speed Parameter Description: Ordered speed when in the air...
Definition: fixedWingEntityParameters.h:315
DtRwReal myMaxAltitude
Parameter Name: max-altitude Parameter Description: Plane will not fly above this.
Definition: fixedWingEntityParameters.h:229
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myMinLiftSpeed
Parameter Name: min-speed Parameter Description: The lowest speed at which the entity can generate en...
Definition: fixedWingEntityParameters.h:223
DtRwReal myMaxGroundSlope
Parameter Name: max-ground-slope Parameter Description: The maximum slope that a fixed-wing entity ca...
Definition: fixedWingEntityParameters.h:295
DtRwReal myFlapsDeceleration
Parameter Name: flaps-deceleration Parameter Description: The additional deceleration applied to the ...
Definition: fixedWingEntityParameters.h:263
File: rwVector.h.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)