![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: restartPlanCommand.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtRestartPlanCommand_H_ 00013 #define DtRestartPlanCommand_H_ 00014 00015 #include "vrfplan/simCommand.h" 00016 #include "vrfutil/rwString.h" 00017 00028 #include "vrfplan/vrfplanDefines.h" 00029 class DT_DLL_vrfplan DtRestartPlanCommand : public DtSimCommand 00030 { 00031 public: 00032 00034 DtRestartPlanCommand(); 00035 00037 DtRestartPlanCommand(const DtString& writeName, 00038 DtReaderWriterRegistry* parentRegistry = NULL); 00039 00041 DtRestartPlanCommand(const DtString & writeName, const DtRestartPlanCommand& orig, 00042 DtReaderWriterRegistry* parentRegistry = NULL); 00043 00045 virtual ~DtRestartPlanCommand(); 00046 00048 DtRestartPlanCommand(const DtRestartPlanCommand& orig); 00049 00051 DtRestartPlanCommand& operator=(const DtRestartPlanCommand& orig); 00052 00054 int type() const; 00055 00057 virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry * 00058 parentRegistry = 0) const; 00059 00061 00062 virtual const DtString & objectName() const; 00063 virtual void setObjectName(const DtString & name); 00065 00066 virtual int netRepSize() const; 00067 virtual bool setFromNet(const char* contentBuffer, 00068 unsigned contentSize); 00069 virtual bool setToNet(); 00070 00072 virtual DtString stringRep() const; 00073 00074 static DtSimCommand* creator(); 00075 00076 protected: 00077 DtRwString myObjectName; 00078 }; 00079 00080 #endif