EvolvingObjects
|
Base class for calls to gnuplot. More...
#include <eoGnuplot.h>
Public Member Functions | |
eoGnuplot (std::string _title, std::string _extra=std::string("")) | |
Open pipe to Gnuplot. | |
virtual | ~eoGnuplot () |
Destructor. | |
virtual std::string | className () const |
Class name. | |
void | gnuplotCommand (const char *_command) |
Send command to gnuplot. | |
void | gnuplotCommand (std::string _command) |
Send command to gnuplot. | |
Protected Member Functions | |
void | initGnuPlot (std::string _title, std::string _extra) |
Initialize gnuplot. | |
Protected Attributes | |
bool | firstTime |
The stats might be unknown in Ctor. | |
PCom * | gpCom |
Communication with gnuplot OK. | |
Static Protected Attributes | |
static unsigned | numWindow = 0 |
Internal counter for gnuplot windows. |
Base class for calls to gnuplot.
This class is the abstract class that will be used by further gnuplot calls to plots what is already written by some eoMonitor into a file
Definition at line 40 of file eoGnuplot.h.
eoGnuplot::eoGnuplot | ( | std::string | _title, |
std::string | _extra = std::string("") |
||
) |
Open pipe to Gnuplot.
_title | Title for gnuplot window. |
_extra | Extra parameters to gnuplot (default to none: ""). |
Definition at line 38 of file eoGnuplot.cpp.
References initGnuPlot().
eoGnuplot::~eoGnuplot | ( | ) | [virtual] |
Destructor.
Close the gnuplot windows if pipe was correctly opened
Definition at line 46 of file eoGnuplot.cpp.
References gpCom.
void eoGnuplot::gnuplotCommand | ( | std::string | _command | ) | [inline] |
Send command to gnuplot.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 68 of file eoGnuplot.h.
References gnuplotCommand().
Referenced by gnuplotCommand().
void eoGnuplot::initGnuPlot | ( | std::string | _title, |
std::string | _extra | ||
) | [protected] |
Initialize gnuplot.
_title | Title for gnuplot window. |
_extra | Extra parameters to gnuplot. |
Definition at line 71 of file eoGnuplot.cpp.
References gpCom, and numWindow.
Referenced by eoGnuplot().