![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ConvoyToTask.h,v $ $Revision: 1.17 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00017 00018 00019 #ifndef DtConvoyToTask_H_ 00020 #define DtConvoyToTask_H_ 00021 00022 #include <vlutil/vlNetTypes.h> 00023 00024 #include "vrftasks/simTask.h" 00025 #include "vrfutil/rwString.h" 00026 00043 00044 #include "vrftasks/vrftasksDefines.h" 00045 class DT_DLL_vrftasks DtConvoyToTask : public DtSimTask 00046 { 00047 00048 public: 00049 00051 DtConvoyToTask(); 00052 00055 DtConvoyToTask(const DtString & writeName, 00056 DtReaderWriterRegistry * parentRegistry = 0); 00057 00059 DtConvoyToTask(const DtString & writeName, const DtConvoyToTask & orig, 00060 DtReaderWriterRegistry * parentRegistry = 0); 00061 00063 const DtConvoyToTask & operator=(const DtConvoyToTask & orig); 00064 00065 virtual ~DtConvoyToTask(); 00066 00068 virtual int type() const; 00069 00071 virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 00072 parentRegistry = 0) const; 00073 00075 virtual DtString stringRep() const; 00076 00077 virtual const DtString & controlObjectName() const; 00078 virtual void setControlObjectName(const DtString & cpName); 00079 00080 virtual const bool pathPlanFlag() const; 00081 virtual void setPathPlanFlag(const bool flag); 00082 00085 virtual int netRepSize() const; 00086 00088 virtual bool setFromNet(const char* contentBuffer, 00089 unsigned contentSize); 00090 00093 virtual bool setToNet(); 00094 00095 static DtSimTask * creator(); 00096 00097 protected: 00098 DtRwString myControlObjectName; 00099 DtRwBoolean myPathPlanFlag; 00100 }; 00101 00102 00103 #endif