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