eoGnuplot Class Reference

Base class for calls to gnuplot. More...

#include <eoGnuplot.h>

Inheritance diagram for eoGnuplot:
eoGnuplot1DMonitor eoGnuplot1DSnapshot

List of all members.

Public Member Functions

 eoGnuplot (std::string _title, std::string _extra=std::string(""))
 Open pipe to Gnuplot.
virtual ~eoGnuplot ()
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.
 Communication with gnuplot OK.

Static Protected Attributes

static unsigned numWindow = 0
 Internal counter for gnuplot windows.

Detailed Description

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

Marc Schoenauer
0.0 (2001)

Definition at line 40 of file eoGnuplot.h.

Constructor & Destructor Documentation

eoGnuplot::eoGnuplot ( std::string  _title,
std::string  _extra = std::string("") 

Open pipe to Gnuplot.

_titleTitle for gnuplot window.
_extraExtra parameters to gnuplot (default to none: "").

Definition at line 38 of file eoGnuplot.cpp.

References initGnuPlot().

eoGnuplot::~eoGnuplot ( ) [virtual]


Close the gnuplot windows if pipe was correctly opened

Definition at line 46 of file eoGnuplot.cpp.

References gpCom.

Member Function Documentation

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.

_titleTitle for gnuplot window.
_extraExtra parameters to gnuplot.

Definition at line 71 of file eoGnuplot.cpp.

References gpCom, and numWindow.

Referenced by eoGnuplot().

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends