![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: globalPlanExecutor.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef globalPlanExecutor_h 00015 #define globalPlanExecutor_h 00016 00017 #include "vrfplan/planExecutor.h" 00018 #include "vrfplanmgr/vrfplanmgrDefines.h" 00019 00020 class DtSimManager; 00021 00026 class DT_DLL_vrfplanmgr DtGlobalPlanExecutor : public DtPlanExecutor 00027 { 00028 private: 00030 DtGlobalPlanExecutor(const DtGlobalPlanExecutor& orig); 00032 DtGlobalPlanExecutor& operator=(const DtGlobalPlanExecutor& orig); 00033 00034 public: 00035 DtGlobalPlanExecutor(DtSimManager* simManager); 00036 virtual ~DtGlobalPlanExecutor(); 00039 virtual bool executeSetDataRequest(const DtPlan& plan, const DtSetDataRequest& sdr); 00041 virtual bool executeTask(const DtPlan& plan, const DtSimTask& task); 00044 virtual bool executeSimCommand(const DtPlan& plan, const DtSimCommand& command); 00046 virtual bool evaluateConditional(const DtPlan& plan, const DtSimCondExpr* conditional); 00047 00049 virtual bool taskActive(int taskId) const {return false;}; 00050 00053 virtual bool stopTask(int taskId) {return false;}; 00054 protected: 00055 00056 protected: 00057 DtSimManager* mySimManager; 00058 }; 00059 00060 00061 #endif 00062