Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Examples

PlotLog Class Template Reference
[Base classes]

#include <plotlog.h>

Inherits Gnuplot< T >, and LogFile< T >.

Inheritance diagram for PlotLog:

Inheritance graph
[legend]
Collaboration diagram for PlotLog:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class PlotLog< T >

gnuplot and logfile classes in one. if you need to print and plot the same data, you can use this class

Definition at line 11 of file plotlog.h.

Public Member Functions

 PlotLog (int buffersize, const std::string &filename="", const std::string &info="", const std::string &separator="\t")
 PlotLog (const std::string &filename="", const std::string &info="", const std::string &separator="\t")
void addChannel (const T &name, const std::string &title="", const std::string &style="lines")
 add a new channel
void putData (const T &channel, double value)
 put data in buffer


Constructor & Destructor Documentation

PlotLog int  buffersize,
const std::string &  filename = "",
const std::string &  info = "",
const std::string &  separator = "\t"
[inline]
 

Definition at line 14 of file plotlog.h.

PlotLog const std::string &  filename = "",
const std::string &  info = "",
const std::string &  separator = "\t"
[inline]
 

Definition at line 19 of file plotlog.h.


Member Function Documentation

void addChannel const T &  name,
const std::string &  title = "",
const std::string &  style = "lines"
[inline]
 

add a new channel

Reimplemented from Gnuplot.

Definition at line 25 of file plotlog.h.

void putData const T &  channel,
double  value
[inline]
 

put data in buffer

Reimplemented from Gnuplot.

Definition at line 31 of file plotlog.h.


The documentation for this class was generated from the following file:
Generated on Wed Apr 6 10:22:42 2005 for Gnuplot by doxygen 1.3.8