![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: laserGuidedLauncherDesc.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef laserGuidedLauncherDesc_h 00015 #define laserGuidedLauncherDesc_h 00016 00017 #include "vrfobjparam/compDesc.h" 00018 #include "vrfutil/rwVector.h" 00019 #include "vrfutil/rwObjType.h" 00020 #include "vrfutil/rwString.h" 00021 #include "vrfutil/rwReal.h" 00022 #include "vrfutil/rwInt.h" 00023 00027 class DtLaserGuidedLauncherControllerDescriptor : public DtComponentDescriptor 00028 { 00029 public: 00031 DtLaserGuidedLauncherControllerDescriptor(const DtString& name, 00032 DtReaderWriterRegistry * parentRegistry = 0); 00033 00035 DtLaserGuidedLauncherControllerDescriptor(const DtLaserGuidedLauncherControllerDescriptor & 00036 orig, DtReaderWriterRegistry * parentRegistry = 0); 00037 00039 DtLaserGuidedLauncherControllerDescriptor & operator=(const 00040 DtLaserGuidedLauncherControllerDescriptor & orig); 00041 00043 virtual ~DtLaserGuidedLauncherControllerDescriptor(); 00044 00047 virtual DtString type() const; 00048 00050 00051 virtual DtObjectType munitionType() const; 00052 virtual void setMunitionType(const DtObjectType& objType); 00054 00056 00057 virtual DtString munitionName() const; 00058 virtual void setMunitionName(const DtString& name); 00060 00062 00063 virtual DtVector launchOffset() const; 00064 virtual void setLaunchOffset(const DtVector& offset); 00066 00068 00069 virtual DtReal minTimeBetweenLaunch() const; 00070 virtual void setMinTimeBetweenLaunch(DtReal time); 00072 00074 00075 virtual DtReal maxAngleOffBoresight() const; 00076 virtual void setMaxAngleOffBoresight(DtReal angle); 00078 00080 00081 virtual int designatorCode() const; 00082 virtual void setDesignatorCode(int value); 00084 00087 virtual const DtString& rangeName() const; 00088 virtual void setRangeName(const DtString& rangeName); 00090 00091 virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry 00092 = 0) const; 00093 00095 static DtComponentDescriptor* creator(); 00096 00097 private: 00099 DtLaserGuidedLauncherControllerDescriptor(); 00100 00101 protected: 00102 00105 00106 00111 DtRwObjectType myMunitionType; 00112 00118 DtRwString myMunitionName; 00119 00126 DtRwVector myLaunchOffset; 00127 00132 DtRwReal myMinTimeBetweenLaunch; 00133 00139 DtRwReal myMaxAngleOffBoresight; 00140 00148 DtRwInt myDesignatorCode; 00149 00152 DtRwString myRangeName; 00153 00155 }; 00156 00157 #endif