![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: turCompDesc.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef DtTurretComponentDescriptor_H_ 00016 #define DtTurretComponentDescriptor_H_ 00017 00018 00019 #include "vrfobjparam/actCompDesc.h" 00020 #include "vrfutil/rwReal.h" 00021 #include "vrfutil/rwInt.h" 00022 #include <vlpi/disEnums.h> 00023 00024 class DtReaderWriterRegistry; 00025 00028 #include "vrfobjparam/vrfobjparamDefines.h" 00029 class DT_DLL_vrfobjparam DtTurretComponentDescriptor : public DtActuatorComponentDescriptor 00030 { 00031 public: 00033 DtTurretComponentDescriptor(const DtString& componentName, 00034 DtReaderWriterRegistry * parentRegistry = 0); 00035 00037 DtTurretComponentDescriptor(const DtTurretComponentDescriptor & orig, 00038 DtReaderWriterRegistry * parentRegistry = 0); 00039 00041 DtTurretComponentDescriptor & operator=(const 00042 DtTurretComponentDescriptor & orig); 00043 00045 virtual ~DtTurretComponentDescriptor(); 00046 00049 virtual DtString type() const; 00050 00051 virtual DtComponentDescriptor * clone( 00052 DtReaderWriterRegistry * parentRegistry = 0) const; 00053 00054 00057 virtual DtReal maxSlewRate() const; 00058 virtual void setMaxSlewRate(DtReal maxSlewRate); 00060 00062 virtual bool hasFixedAzimuth() const; 00063 00066 virtual DtReal rightSlewLimit() const; 00067 virtual DtReal leftSlewLimit() const; 00069 00071 static DtComponentDescriptor * creator(); 00072 00073 protected: 00075 DtTurretComponentDescriptor(); 00076 00077 protected: 00078 00084 00089 DtRwReal myMaxSlewRate; 00090 00096 DtRwBoolean myHasFixedAzimuth; 00097 00112 DtRwReal myLeftSlewLimit; 00113 00122 DtRwReal myRightSlewLimit; 00123 00125 }; 00126 00127 #endif 00128 00129 00130