eoGnuplot.h

00001 //-----------------------------------------------------------------------------
00002 // eoGnuplot1DMonitor.h
00003 // (c) Marc Schoenauer, 2001
00004 /*
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014 
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with this library; if not, write to the Free Software
00017    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019    Contact: Marc.Schoenauer@polytechnique.fr
00020  */
00021 //-----------------------------------------------------------------------------
00022 #ifndef EO_eoGnuplot_H
00023 #define EO_eoGnuplot_H
00024 
00025 #include <string>
00026 
00027 #include "pipecom.h"
00028 
00029 
00038 class eoGnuplot
00039 {
00040 public:
00041 
00047     eoGnuplot(std::string _title, std::string _extra = std::string(""));
00048 
00053     virtual ~eoGnuplot();
00054 
00056     virtual std::string className() const
00057         { return "eoGnuplot"; }
00058 
00060     void gnuplotCommand(const char * _command);
00061 
00066     void gnuplotCommand(std::string _command)
00067         { gnuplotCommand(_command.c_str()); }
00068 
00069 
00070 protected:
00071 
00077     void initGnuPlot(std::string _title, std::string _extra);
00078 
00080     bool firstTime;
00081 
00083     PCom *gpCom;
00084 
00086     static unsigned numWindow;
00087 };
00088 
00089 
00090 #endif // EO_eoGnuplot_H
00091 
00092 
00093 
00094 // Local Variables:
00095 // c-file-style: "Stroustrup"
00096 // comment-column: 35
00097 // fill-column: 80
00098 // mode: C++
00099 // End:

Generated on Thu Oct 19 05:06:35 2006 for EO by  doxygen 1.3.9.1