00001 // RunDirector.h: interface for the CRunDirector class. 00002 // 00004 00005 #if !defined(AFX_RUNDIRECTOR_H__4509F335_E793_490D_803E_3CB2532EE746__INCLUDED_) 00006 #define AFX_RUNDIRECTOR_H__4509F335_E793_490D_803E_3CB2532EE746__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "Director.h" 00013 #include "Runnable.h" 00014 #include "GnuPlotterRunnableObserver.h" 00015 00016 class CRunDirector : public CDirector 00017 { 00018 public: 00019 CRunDirector(); 00020 virtual ~CRunDirector(); 00021 virtual void Execute(); 00022 CRunnable *GetRunnable(int index) {return m_vpRunnables[index];} 00023 protected: 00024 std::vector<CRunnable *> m_vpRunnables; 00025 std::vector<GnuPlotterRunnableObserver *> m_vpGnuPlotters; 00026 private: 00027 virtual void DefineRuns() = 0; 00028 }; 00029 00030 #endif // !defined(AFX_RUNDIRECTOR_H__4509F335_E793_490D_803E_3CB2532EE746__INCLUDED_)