![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: planExecutor.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef planExecutor_H_ 00015 #define planExecutor_H_ 00016 00017 #include "vrfplan/vrfplanDefines.h" 00018 00019 class DtPlan; 00020 class DtSimTask; 00021 class DtSetDataRequest; 00022 class DtSimCommand; 00023 class DtSimCondExpr; 00024 00031 class DT_DLL_vrfplan DtPlanExecutor 00032 { 00033 private: 00035 DtPlanExecutor(const DtPlanExecutor& orig); 00037 DtPlanExecutor& operator=(const DtPlanExecutor& orig); 00038 00039 public: 00040 DtPlanExecutor(); 00041 virtual ~DtPlanExecutor(); 00044 virtual bool executeSetDataRequest(const DtPlan& plan, const DtSetDataRequest& sdr) = 0; 00047 virtual bool executeTask(const DtPlan& plan, const DtSimTask& task) = 0; 00050 virtual bool executeSimCommand(const DtPlan& plan, const DtSimCommand& command) = 0; 00053 virtual bool evaluateConditional(const DtPlan& plan, const DtSimCondExpr* conditional) = 0; 00054 00057 virtual bool taskActive(int taskId) const = 0; 00058 00062 virtual bool stopTask(int taskId) = 0; 00063 00064 protected: 00065 }; 00066 00067 #endif