00001 // GnuPlotterDirectorObserver.h: interface for the GnuPlotterDirectorObserver class. 00002 // 00004 00005 #if !defined(AFX_GNUPLOTTERDIRECTOROBSERVER_H__6CD7D63A_B31D_4E2A_B477_0DEDC353D1A9__INCLUDED_) 00006 #define AFX_GNUPLOTTERDIRECTOROBSERVER_H__6CD7D63A_B31D_4E2A_B477_0DEDC353D1A9__INCLUDED_ 00007 00008 #if _MSC_VER > 1000 00009 #pragma once 00010 #endif // _MSC_VER > 1000 00011 00012 #include "GnuPlotter.h" 00013 #include "Director.h" 00014 #include "typedefs.h" 00015 00016 class GnuPlotterDirectorObserver : public GnuPlotter 00017 { 00018 public: 00019 GnuPlotterDirectorObserver(); 00020 virtual ~GnuPlotterDirectorObserver(); 00021 void Update(Subject *theChangedSubject); 00022 void AddChemicalToList(int chemNumber); 00023 private: 00024 intVector monitorChem; 00025 }; 00026 00027 #endif // !defined(AFX_GNUPLOTTERDIRECTOROBSERVER_H__6CD7D63A_B31D_4E2A_B477_0DEDC353D1A9__INCLUDED_)