![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: laserLauncherPSR.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 ** Created: 7/12/04, MEM Updated: 7/21/04 00008 *******************************************************************************/ 00009 00012 00018 00019 #ifndef DtLaserLauncherPSR_H_ 00020 #define DtLaserLauncherPSR_H_ 00021 00022 #include "vrfobjcore/processSR.h" 00023 00024 #include <vl/hostStructs.h> 00025 #include "vrfutil/rwString.h" 00026 #include "vrfutil/rwBoolean.h" 00027 #include "vrfutil/rwReal.h" 00028 #include "vrfutil/rwInt.h" 00029 #include "vrfutil/rwVector.h" 00030 00035 00036 #include "vrfobjcore/vrfobjcoreDefines.h" 00037 class DT_DLL_vrfobjcore DtLaserLauncherPSR : public DtVrfProcessStateRepository 00038 { 00039 00040 protected: 00042 DtLaserLauncherPSR(); 00043 00044 public: 00045 //constructor 00046 DtLaserLauncherPSR(DtVrfObject* vrfObject, 00047 const DtString& rwName = DtString::nullString(), 00048 DtReaderWriterRegistry* parentRegistry = 0); 00049 00050 //copy constructor 00051 DtLaserLauncherPSR(const DtLaserLauncherPSR& orig, 00052 const DtString& rwName = DtString::nullString(), 00053 DtReaderWriterRegistry* parentRegistry = 0); 00054 00055 //assignment operator 00056 const DtLaserLauncherPSR& operator=( 00057 const DtLaserLauncherPSR& orig); 00058 00059 //destructor 00060 virtual ~DtLaserLauncherPSR(); 00061 00062 //returns a copy of the PSR 00063 virtual DtVrfProcessStateRepository* clone( 00064 const DtString& rwName = DtString::nullString(), 00065 DtReaderWriterRegistry* parentRegistry = 0) const; 00066 00068 virtual DtString type() const; 00069 00071 virtual void setDesignatorCode(const int code); 00072 virtual const int designatorCode() const; 00073 00075 virtual void setLastLaunchTime(double time); 00076 virtual double lastLaunchTime() const; 00077 00079 00080 virtual void setMissileInFlightName(const DtString& name); 00081 virtual DtString missileInFlightName() const; 00083 00085 static DtVrfProcessStateRepository* creator(const DtString& name, 00086 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00087 00088 protected: 00089 DtRwInt myDesignatorCode; 00090 DtRwReal myLastLaunchTime; 00092 DtRwString myMissileInFlightName; 00093 }; 00094 00095 #endif