![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: fixWngActDesc.h,v $ $Revision: 1.11 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtFixedWingActuatorDescriptor_H_ 00016 #define DtFixedWingActuatorDescriptor_H_ 00017 00018 00019 #include "vrfobjparam/actCompDesc.h" 00020 #include "vrfutil/rwReal.h" 00021 #include "vrfutil/rwBoolean.h" 00022 00027 #include "vrfobjparam/vrfobjparamDefines.h" 00028 class DT_DLL_vrfobjparam DtFixedWingActuatorDescriptor : public DtActuatorComponentDescriptor 00029 { 00030 public: 00032 DtFixedWingActuatorDescriptor(const DtString& name, 00033 DtReaderWriterRegistry* parentRegistry = NULL); 00034 DtFixedWingActuatorDescriptor(const DtSymbolString& name, 00035 DtReaderWriterRegistry* parentRegistry = NULL); 00036 00038 DtFixedWingActuatorDescriptor(const DtFixedWingActuatorDescriptor& orig, 00039 DtReaderWriterRegistry* parentRegistry = NULL); 00040 00042 DtFixedWingActuatorDescriptor & operator=( 00043 const DtFixedWingActuatorDescriptor& orig); 00044 00045 virtual ~DtFixedWingActuatorDescriptor(); 00046 00049 virtual DtString type() const; 00050 00051 virtual DtComponentDescriptor * clone( 00052 DtReaderWriterRegistry* parentRegistry = NULL) const; 00053 00056 virtual DtReal maxThrustAcceleration() const; 00057 virtual void setMaxThrustAcceleration(DtReal maxThrustAcceleration); 00059 00062 virtual bool checkTerrain() const; 00063 virtual void setCheckTerrain(bool checkTerrain); 00065 00068 virtual void setDragCoefficient(double dc); 00069 virtual double dragCoefficient() const; 00070 00072 static DtComponentDescriptor * creator(); 00073 00074 protected: 00076 DtFixedWingActuatorDescriptor(); 00077 00078 protected: 00079 00083 00089 DtRwReal myMaxThrustAcceleration; 00090 00100 DtRwBoolean myCheckTerrain; 00101 00106 DtRwReal myDragCoefficient; 00107 00109 }; 00110 00111 #endif