![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: taskCommandExecutor.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef taskCommandExecutor_h 00015 #define taskCommandExecutor_h 00016 00017 #include "vrfobjcore/simCommandExecutor.h" 00018 #include "vrfplanmgr/vrfplanmgrDefines.h" 00019 00022 class DT_DLL_vrfplanmgr DtTaskCommandExecutor : public DtSimCommandExecutor 00023 { 00024 public: 00025 DtTaskCommandExecutor(DtSimManager* simManager); 00026 00027 virtual ~DtTaskCommandExecutor(); 00028 00030 virtual bool execute(const DtSimCommand* command); 00031 00035 virtual bool execute(const DtSimCommand* command, const DtString& objectName); 00036 00038 static DtSimCommandExecutor* create(DtSimManager* simManager); 00039 00040 protected: 00043 virtual bool executeCommand(const DtSimCommand* command, 00044 const DtString& senderName); 00045 00046 private: 00048 DtTaskCommandExecutor(); 00050 DtTaskCommandExecutor(const DtTaskCommandExecutor& orig); 00052 DtTaskCommandExecutor& operator=(const DtTaskCommandExecutor& orig); 00053 }; 00054 00055 #endif