Robotsystem from Robot Group Leipzig: PlotLog Class Template Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Alphabetical List
- Class Hierarchy
- Class Members

# PlotLog Class Template Reference
[Base classes]

`#include <plotlog.h>`

Inheritance diagram for PlotLog:

[legend]
Collaboration diagram for PlotLog:

[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.