![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: rotWngActDesc.h,v $ $Revision: 1.17 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtRotaryWingActuatorDescriptor_H_ 00016 #define DtRotaryWingActuatorDescriptor_H_ 00017 00018 00019 #include "vrfobjparam/actCompDesc.h" 00020 #include "vrfutil/rwReal.h" 00021 #include "vrfutil/rwVector.h" 00022 00026 #include "vrfobjparam/vrfobjparamDefines.h" 00027 class DT_DLL_vrfobjparam DtRotaryWingActuatorDescriptor : public DtActuatorComponentDescriptor 00028 { 00029 public: 00031 DtRotaryWingActuatorDescriptor(const DtString& name, 00032 DtReaderWriterRegistry* parentRegistry = NULL); 00033 DtRotaryWingActuatorDescriptor(const DtSymbolString& name, 00034 DtReaderWriterRegistry* parentRegistry = NULL); 00035 00037 DtRotaryWingActuatorDescriptor(const DtRotaryWingActuatorDescriptor& orig, 00038 DtReaderWriterRegistry* parentRegistry = NULL); 00039 00041 DtRotaryWingActuatorDescriptor & operator=( 00042 const DtRotaryWingActuatorDescriptor& orig); 00043 00044 virtual ~DtRotaryWingActuatorDescriptor(); 00045 00048 virtual DtString type() const; 00049 00050 virtual DtComponentDescriptor* clone( 00051 DtReaderWriterRegistry* parentRegistry = NULL) const; 00052 00054 virtual void setDefaults(); 00055 00056 virtual void copyValues(const DtRotaryWingActuatorDescriptor & orig); 00057 00060 virtual DtReal maxSpeedAttitude() const; 00061 virtual void setMaxSpeedAttitude(DtReal attitude); 00063 00066 virtual DtReal crashVelocity() const; 00067 virtual void setCrashVelocity(DtReal value); 00069 00072 virtual DtReal landingPositionThreshold() const; 00073 virtual void setLandingPositionThreshold(DtReal value); 00075 00078 virtual DtReal landingVelocityThreshold() const; 00079 virtual void setLandingVelocityThreshold(DtReal value); 00081 00084 virtual DtReal landingHeightThreshold() const; 00085 virtual void setLandingHeightThreshold(DtReal value); 00087 00090 virtual DtReal clampedFrameRate() const; 00091 virtual void setClampedFrameRate(DtReal clampedFrameRate); 00093 00096 virtual void setDragCoefficient(double dc); 00097 virtual double dragCoefficient() const; 00098 00100 static DtComponentDescriptor * creator(); 00101 00102 protected: 00104 DtRotaryWingActuatorDescriptor(); 00105 00106 protected: 00107 00111 00116 DtRwReal myMaxSpeedAttitude; 00117 00123 DtRwReal myCrashVelocity; 00124 00130 DtRwReal myLandingPositionThreshold; 00131 00137 DtRwReal myLandingVelocityThreshold; 00138 00145 DtRwReal myLandingHeightThreshold; 00146 00153 DtRwReal myClampedFrameRate; 00154 00159 DtRwReal myDragCoefficient; 00160 00162 }; 00163 00164 #endif