![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: elBalGnCtlDsc.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef DtElevatingBallisticGunControllerDescriptor_H_ 00015 #define DtElevatingBallisticGunControllerDescriptor_H_ 00016 00017 #include "vrfobjparam/balGunCtlDesc.h" 00018 #include "vrfutil/rwReal.h" 00019 #include "vrfutil/rwInt.h" 00020 #include <vlpi/disEnums.h> 00021 00028 #include "vrfobjparam/vrfobjparamDefines.h" 00029 class DT_DLL_vrfobjparam DtElevatingBallisticGunControllerDescriptor : public 00030 DtBallisticGunControllerDescriptor 00031 { 00032 public: 00034 DtElevatingBallisticGunControllerDescriptor(const DtString& name, 00035 DtReaderWriterRegistry * parentRegistry = 0); 00036 00038 DtElevatingBallisticGunControllerDescriptor(const 00039 DtElevatingBallisticGunControllerDescriptor & orig, 00040 DtReaderWriterRegistry * parentRegistry = 0); 00041 00043 DtElevatingBallisticGunControllerDescriptor & operator=(const 00044 DtElevatingBallisticGunControllerDescriptor & orig); 00045 00047 virtual ~DtElevatingBallisticGunControllerDescriptor(); 00048 00051 virtual DtString type() const; 00052 00053 virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry 00054 = 0) const; 00055 00058 virtual DtReal maxElevationRate() const; 00059 virtual void setMaxElevationRate(DtReal maxElevationRate); 00061 00064 virtual DtArtPartType gunToControl() const; 00065 virtual void setGunToControl(DtArtPartType gunToControl); 00067 00069 static DtComponentDescriptor* creator(); 00070 00071 protected: 00073 DtElevatingBallisticGunControllerDescriptor(); 00074 00075 protected: 00079 00085 DtRwReal myMaxElevationRate; 00086 00093 DtRwInt myGunToControl; 00094 00096 }; 00097 00098 #endif 00099 00100 00101