![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 00008 00009 #ifndef DtLaunchSmokeTask_H_ 00010 #define DtLaunchSmokeTask_H_ 00011 00012 #include "vrftasks/simTask.h" 00013 #include <vlutil/vlNetTypes.h> 00014 #include "vrfutil/rwBoolean.h" 00015 #include "vrfutil/rwReal.h" 00016 #include "vrftasks/radioMsgTypes.h" 00017 #include "vrftasks/vrftasksDefines.h" 00018 00023 class DT_DLL_vrftasks DtLaunchSmokeTask : public DtSimTask 00024 { 00025 public: 00026 00028 DtLaunchSmokeTask(); 00029 00031 DtLaunchSmokeTask(const DtString & writeName, 00032 DtReaderWriterRegistry * parentRegistry = 0); 00033 00035 virtual ~DtLaunchSmokeTask(); 00036 00038 DtLaunchSmokeTask(const DtString & writeName, const 00039 DtLaunchSmokeTask & orig, DtReaderWriterRegistry * 00040 parentRegistry = 0); 00041 00043 DtLaunchSmokeTask& operator=(const DtLaunchSmokeTask& orig); 00044 00046 virtual int type() const; 00047 00049 virtual DtSimTask * clone(const DtString & name, 00050 DtReaderWriterRegistry * parentRegistry = 0) const; 00051 00053 virtual DtString stringRep() const; 00054 00057 00058 virtual const bool launchAtNearestThreat() const; 00059 virtual void setLaunchAtNearestThreat(bool v); 00061 00064 00065 virtual double launchHeading() const; 00066 virtual void setLaunchHeading(double heading); 00068 00073 virtual int netRepSize() const; 00074 00078 virtual bool setFromNet(const char* contentBuffer, 00079 unsigned contentSize); 00080 00084 virtual bool setToNet(); 00085 00086 static DtSimTask * creator(); 00087 00088 protected: 00089 00090 DtRwBoolean myLaunchAtNearestThreat; 00091 DtRwReal myLaunchHeading; 00092 }; 00093 00094 #endif 00095