![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2005 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: landingTask.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00017 00018 #ifndef DtLandingTask_H_ 00019 #define DtLandingTask_H_ 00020 00021 #include "vrftasks/simTask.h" 00022 #include <vlutil/vlNetTypes.h> 00023 #include "vrfutil/rwString.h" 00024 #include "vrfutil/rwVector.h" 00025 #include "vrfutil/rwBoolean.h" 00026 #include <vlpi/NetStructs.h> 00027 00030 00031 struct DtNetLandingTask 00032 { 00033 DtNetU8 myLandingStripNameLength; 00034 }; 00035 00040 #include "vrftasks/vrftasksDefines.h" 00041 class DT_DLL_vrftasks DtLandingTask : public DtSimTask 00042 { 00043 00044 public: 00045 00047 00048 DtLandingTask(); 00049 00050 00053 00054 DtLandingTask(const DtString & writeName, 00055 DtReaderWriterRegistry * parentRegistry = 0); 00056 00057 00059 00060 DtLandingTask(const DtString & writeName, const 00061 DtLandingTask & orig, DtReaderWriterRegistry * 00062 parentRegistry = 0); 00063 00064 00066 00067 const DtLandingTask & operator=(const 00068 DtLandingTask & orig); 00069 00070 virtual ~DtLandingTask(); 00071 00072 00074 00075 virtual int type() const; 00076 00078 00079 virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 00080 parentRegistry = 0) const; 00081 00082 00084 00085 virtual DtString stringRep() const; 00086 00087 00089 00090 virtual void setLandingStripName(const DtString&); 00091 virtual const DtString& landingStripName() const; 00092 00093 00096 00097 virtual int netRepSize() const; 00098 00099 00101 00102 virtual bool setFromNet(const char* contentBuffer, 00103 unsigned contentSize); 00104 00105 00108 00109 virtual bool setToNet(); 00110 00111 static DtSimTask * creator(); 00112 00113 protected: 00114 DtRwString myLandingStripName; 00115 }; 00116 00117 00118 #endif