00001 // GnuPlotterEnsembleRunDirectorObserver.h: interface for the GnuPlotterEnsembleRunDirectorObserver class. 00002 // 00004 00005 #if !defined(AFX_GNUPLOTTERENSEMBLERUNDIRECTOROBSERVER_H__A09E5ED6_1708_4200_A5B7_919649A32DE4__INCLUDED_) 00006 #define AFX_GNUPLOTTERENSEMBLERUNDIRECTOROBSERVER_H__A09E5ED6_1708_4200_A5B7_919649A32DE4__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "GnuPlotter.h" 00013 #include "EnsembleCombinationDirector.h" 00014 #include "typedefs.h" 00015 00016 class CEnsembleCombinationDirector; // Both files refer to one another 00017 00018 class GnuPlotterEnsembleRunDirectorObserver : public GnuPlotter 00019 { 00020 public: 00021 GnuPlotterEnsembleRunDirectorObserver(); 00022 virtual ~GnuPlotterEnsembleRunDirectorObserver(); 00023 void Update(Subject *theChangedSubject); 00024 void FixRunnable(int whichRunnable); 00025 void AddChemicalToList(int whichChemical); 00026 private: 00027 // the runnable in an EnsembleDirector that this plotter is plotting 00028 // results for 00029 int m_iWhichRunnable; 00030 // list of chemicals to plot the results of 00031 intVector m_viWhichChemicals; 00032 }; 00033 00034 #endif // !defined(AFX_GNUPLOTTERENSEMBLERUNDIRECTOROBSERVER_H__A09E5ED6_1708_4200_A5B7_919649A32DE4__INCLUDED_)