![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2005 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: fixWngTakeoffDesc.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtFixedWingTakeoffDescriptor_H_ 00016 #define DtFixedWingTakeoffDescriptor_H_ 00017 00018 #include "vrfobjparam/compDesc.h" 00019 #include "vrfutil/rwReal.h" 00020 #include "vrfutil/rwBoolean.h" 00021 00022 class DtReaderWriterRegistry; 00023 00026 #include "vrfobjparam/vrfobjparamDefines.h" 00027 class DT_DLL_vrfobjparam DtFixedWingTakeoffDescriptor : public DtComponentDescriptor 00028 { 00029 public: 00031 DtFixedWingTakeoffDescriptor(const DtString& name, DtReaderWriterRegistry * 00032 parentRegistry = 0); 00033 00035 DtFixedWingTakeoffDescriptor(const DtFixedWingTakeoffDescriptor & orig, 00036 DtReaderWriterRegistry * parentRegistry = 0); 00037 00039 DtFixedWingTakeoffDescriptor & operator=(const 00040 DtFixedWingTakeoffDescriptor & orig); 00041 00043 virtual ~DtFixedWingTakeoffDescriptor(); 00044 00047 virtual DtString type() const; 00048 00049 virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry 00050 = 0) const; 00051 00053 static DtComponentDescriptor * creator(); 00054 00057 virtual double takeoffDistance() const; 00058 virtual void setTakeoffDistance(double value); 00060 00063 virtual double takeoffAltitude() const; 00064 virtual void setTakeoffAltitude(double value); 00066 00067 private: 00069 DtFixedWingTakeoffDescriptor(); 00070 00071 protected: 00072 00076 00082 DtRwReal myTakeoffDistance; 00083 00089 DtRwReal myTakeoffAltitude; 00090 00092 }; 00093 00094 #endif 00095 00096 00097