![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: rwPlanExecutionStack.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef rwPlanExecutionStack_h 00015 #define rwPlanExecutionStack_h 00016 00017 #include "vrfplan/vrfplanDefines.h" 00018 #include "vrfutil/rdrWritr.h" 00019 #include "vrfutil/rwTemplatedList.h" 00020 #include "vrfutil/rwInt.h" 00021 00022 class DT_DLL_vrfplan DtRwPlanExecutionStackEntry : public DtReaderWriter 00023 { 00024 private: 00026 DtRwPlanExecutionStackEntry(); 00027 00028 public: 00029 DtRwPlanExecutionStackEntry(const DtString& name, DtReaderWriterRegistry* 00030 parentRegistry = NULL); 00031 00033 DtRwPlanExecutionStackEntry(const DtString& name, const DtRwPlanExecutionStackEntry& orig, 00034 DtReaderWriterRegistry* parentRegistry = NULL); 00035 00037 const DtRwPlanExecutionStackEntry& operator=(const DtRwPlanExecutionStackEntry& orig); 00038 00040 virtual ~DtRwPlanExecutionStackEntry(); 00041 00045 00046 virtual int cursor() const; 00047 virtual void setCursor(int v); 00049 00052 00053 virtual int taskId() const; 00054 virtual void setTaskId(int v); 00056 00057 00058 virtual bool taskIdSpecified() const; 00059 00060 protected: 00061 DtRwInt myCursor; 00062 DtRwInt myTaskId; 00063 }; 00064 00065 typedef DtRwTemplatedListPtr<DtRwPlanExecutionStackEntry> DtRwPlanExecutionStack; 00066 00067 #endif