![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999-2000 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: fixWingPar.h,v $ $Revision: 1.28 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtFixedWingEntityParameters_H_ 00016 #define DtFixedWingEntityParameters_H_ 00017 00018 #include "vrfobjparam/mvObjParams.h" 00019 00020 #include "vrfutil/rwVector.h" 00021 00022 class DtString; 00023 class DtReaderWriterRegistry; 00024 00054 #include "vrfobjparam/vrfobjparamDefines.h" 00055 class DT_DLL_vrfobjparam DtFixedWingEntityParameters : public DtMovingObjectParameters 00056 { 00057 public: 00058 00060 DtFixedWingEntityParameters (const DtString& name = DtString::nullString(), 00061 DtReaderWriterRegistry* parentRegistry = NULL); 00062 DtFixedWingEntityParameters (const DtSymbolString& name, 00063 DtReaderWriterRegistry* parentRegistry = NULL); 00064 00065 protected: 00067 DtFixedWingEntityParameters(const DtFixedWingEntityParameters& orig, 00068 const DtString& name = DtString::nullString(), 00069 DtReaderWriterRegistry* parentRegistry = NULL); 00070 DtFixedWingEntityParameters(const DtFixedWingEntityParameters& orig, 00071 const DtSymbolString& name, 00072 DtReaderWriterRegistry* parentRegistry = NULL); 00073 00074 public: 00075 const DtFixedWingEntityParameters & operator= (const DtFixedWingEntityParameters & orig); 00076 00078 virtual ~DtFixedWingEntityParameters(); 00079 00080 virtual DtVrfObjectParameters* clone(const DtString& name = DtString::nullString(), 00081 DtReaderWriterRegistry* parentRegistry = NULL) const; 00082 virtual DtVrfObjectParameters* clone(const DtSymbolString& name, 00083 DtReaderWriterRegistry* parentRegistry = NULL) const; 00084 00087 virtual DtString type() const; 00088 00091 virtual bool inheritValues (const DtVrfObjectParameters * benefactor); 00092 00093 virtual void inheritValuesFromThisType (const DtFixedWingEntityParameters * 00094 benefactor); 00095 00099 00102 virtual DtReal minLiftSpeed() const; 00103 virtual void setMinLiftSpeed (DtReal minLiftSpeed); 00105 00108 virtual DtReal maxAltitude() const; 00109 virtual void setMaxAltitude (DtReal maxAltitude); 00111 00114 virtual DtReal maxClimbRate() const; 00115 virtual void setMaxClimbRate (DtReal maxClimbRate); 00117 00120 virtual DtReal maxYawRate() const; 00121 virtual void setMaxYawRate (DtReal maxYawRate); 00123 00126 virtual DtReal maxPitchRate() const; 00127 virtual void setMaxPitchRate (DtReal maxPitchRate); 00129 00132 virtual DtReal maxRollRate() const; 00133 virtual void setMaxRollRate (DtReal maxRollRate); 00135 00138 virtual DtReal flapsDeceleration() const; 00139 virtual void setFlapsDeceleration(DtReal decel); 00141 00144 virtual DtReal orderedGroundSpeed() const; 00145 virtual void setOrderedGroundSpeed (DtReal orderedGroundSpeed); 00147 00150 virtual DtReal maxGroundSpeed() const; 00151 virtual void setMaxGroundSpeed (DtReal maxGroundSpeed); 00153 00156 virtual DtReal onGroundTolerance() const; 00157 virtual void setOnGroundTolerance (DtReal onGroundTolerance); 00159 00162 virtual DtReal maxGroundStoppingDeceleration() const; 00163 virtual void setMaxGroundStoppingDeceleration( 00164 DtReal maxGroundStoppingDeceleration); 00166 00169 virtual DtReal groundTurningRadius() const; 00170 virtual void setGroundTurningRadius (DtReal groundTurningRadius); 00172 00175 virtual DtReal maxGroundSlope() const; 00176 virtual void setMaxGroundSlope (DtReal maxGroundSlope); 00178 00181 virtual bool onGround() const; 00182 virtual void setOnGround(bool onGround); 00184 00187 virtual const DtVector& noseSupport() const; 00188 virtual void setNoseSupport (const DtVector& newNoseSupport); 00190 00192 virtual void setDefaults(); 00193 00195 virtual void copyValues (const DtFixedWingEntityParameters & orig); 00196 00198 static DtVrfObjectParameters * creator(); 00199 00200 protected: 00204 00210 DtRwReal myMinLiftSpeed; 00211 00216 DtRwReal myMaxAltitude; 00217 00222 DtRwReal myMaxClimbRate; 00223 00229 DtRwReal myMaxYawRate; 00230 00236 DtRwReal myMaxPitchRate; 00237 00243 DtRwReal myMaxRollRate; 00244 00250 DtRwReal myFlapsDeceleration; 00251 00257 DtRwReal myOrderedGroundSpeed; 00258 00263 DtRwReal myMaxGroundSpeed; 00264 00270 DtRwReal myMaxGroundStoppingDeceleration; 00271 00276 DtRwReal myGroundTurningRadius; 00277 00282 DtRwReal myMaxGroundSlope; 00283 00289 DtRwReal myOnGroundTolerance; 00290 00296 DtRwBoolean myOnGround; 00297 00299 }; 00300 00301 #endif