VR-Forces 4.8 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 
22 class DtString;
24 
56 {
57 public:
58 
60  DtFixedWingEntityParameters (const DtString& name = DtString::nullString(),
61  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
63  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
64 
65 protected:
68  const DtString& name = DtString::nullString(),
69  DtReaderWriterRegistry* parentRegistry = NULL);
71  const DtSymbolString& name,
72  DtReaderWriterRegistry* parentRegistry = NULL);
73 
74 public:
76 
78  virtual ~DtFixedWingEntityParameters();
79 
80  virtual DtVrfObjectParameters* clone(const DtString& name = DtString::nullString(),
81  DtReaderWriterRegistry* parentRegistry = NULL) const;
82  virtual DtVrfObjectParameters* clone(const DtSymbolString& name,
83  DtReaderWriterRegistry* parentRegistry = NULL) const;
84 
87  virtual DtString type() const;
88 
91  virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
92 
94  benefactor);
95 
99 
102  virtual DtReal minLiftSpeed() const;
103  virtual void setMinLiftSpeed (DtReal minLiftSpeed);
105 
108  virtual DtReal maxAltitude() const;
109  virtual void setMaxAltitude (DtReal maxAltitude);
111 
114  virtual DtReal maxClimbRate() const;
115  virtual void setMaxClimbRate (DtReal maxClimbRate);
117 
120  virtual DtReal maxYawRate() const;
121  virtual void setMaxYawRate (DtReal maxYawRate);
123 
126  virtual DtReal maxPitchRate() const;
127  virtual void setMaxPitchRate (DtReal maxPitchRate);
129 
132  virtual DtReal maxRollRate() const;
133  virtual void setMaxRollRate (DtReal maxRollRate);
135 
138  virtual DtReal flapsDeceleration() const;
139  virtual void setFlapsDeceleration(DtReal decel);
141 
144  virtual DtReal orderedGroundSpeed() const;
145  virtual void setOrderedGroundSpeed (DtReal orderedGroundSpeed);
147 
150  virtual DtReal maxGroundSpeed() const;
151  virtual void setMaxGroundSpeed (DtReal maxGroundSpeed);
153 
156  virtual DtReal onGroundTolerance() const;
157  virtual void setOnGroundTolerance (DtReal onGroundTolerance);
159 
162  virtual DtReal maxGroundStoppingDeceleration() const;
163  virtual void setMaxGroundStoppingDeceleration(
164  DtReal maxGroundStoppingDeceleration);
166 
169  virtual DtReal groundTurningRadius() const;
170  virtual void setGroundTurningRadius (DtReal groundTurningRadius);
172 
175  virtual DtReal maxGroundSlope() const;
176  virtual void setMaxGroundSlope (DtReal maxGroundSlope);
178 
181  virtual bool onGround() const;
182  virtual void setOnGround(bool onGround);
184 
187  virtual const DtVector& noseSupport() const;
188  virtual void setNoseSupport (const DtVector& newNoseSupport);
190 
192  virtual void setDefaults();
193 
195  virtual void copyValues (const DtFixedWingEntityParameters & orig);
196 
198  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
199 
200 protected:
204 
211 
217 
223 
230 
237 
244 
251 
258 
264 
271 
277 
283 
290 
297 
299 };
300 
301 #endif
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:257
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:296
#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:270
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:263
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:243
DtRwReal myMaxClimbRate
Parameter Name: max-climb-rate Parameter Description: The maximum speed, that the plane can climb...
Definition: fixedWingEntityParameters.h:222
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:55
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
DtRwReal myOnGroundTolerance
Parameter Name: on-ground-tolerance Parameter Description: The tolerance by which a fixed wing is con...
Definition: fixedWingEntityParameters.h:289
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:236
DtRwReal myMaxYawRate
Parameter Name: max-yaw-rate Parameter Description: The maximum rate at which the entity can rotate a...
Definition: fixedWingEntityParameters.h:229
DtRwReal myGroundTurningRadius
Parameter Name: ground-turning-radius Parameter Description: Turning radius used when entity is taxii...
Definition: fixedWingEntityParameters.h:276
DtRwReal myMaxAltitude
Parameter Name: max-altitude Parameter Description: Plane will not fly above this.
Definition: fixedWingEntityParameters.h:216
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:210
DtRwReal myMaxGroundSlope
Parameter Name: max-ground-slope Parameter Description: The maximum slope that a fixed-wing entity ca...
Definition: fixedWingEntityParameters.h:282
DtRwReal myFlapsDeceleration
Parameter Name: flaps-deceleration Parameter Description: The additional deceleration applied to the ...
Definition: fixedWingEntityParameters.h:250
File: rwVector.h.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)