Public Member Functions | |
| void | add (std::string in) |
| void | flush () |
| bool | gnuplotExists () |
| PlotFileHandler (std::string filename) | |
| void | reset () |
| void | send (std::vector< std::pair< double, double >> pointBuffer) |
Private Attributes | |
| std::string | mFileBuffer |
| std::string | mFilename |
| boost::shared_ptr< Gnuplot > | mGnuplotHandler |
Private class handling the writing to file and gnuplot output of the data
Definition at line 97 of file GMMGnuplotVisualization.h.
| Visualization::GMMGnuplotVisualization::PlotFileHandler::PlotFileHandler | ( | std::string | filename | ) |
Constructor
| filename | Name of the file to write the gnuplot script into If "": Do not write to file |
Definition at line 98 of file GMMGnuplotVisualization.cpp.
| void Visualization::GMMGnuplotVisualization::PlotFileHandler::add | ( | std::string | in | ) |
Add string to gnuplot and file buffer
Definition at line 102 of file GMMGnuplotVisualization.cpp.
| void Visualization::GMMGnuplotVisualization::PlotFileHandler::flush | ( | ) |
Flushes the gnuplot.
Definition at line 137 of file GMMGnuplotVisualization.cpp.
| bool Visualization::GMMGnuplotVisualization::PlotFileHandler::gnuplotExists | ( | ) |
Checks whether gnuplot exists or not
Definition at line 131 of file GMMGnuplotVisualization.cpp.
| void Visualization::GMMGnuplotVisualization::PlotFileHandler::reset | ( | ) |
Create a clean interface to gnuplot.
Definition at line 100 of file GMMGnuplotVisualization.cpp.
| void Visualization::GMMGnuplotVisualization::PlotFileHandler::send | ( | std::vector< std::pair< double, double >> | pointBuffer | ) |
Send data to gnuplot and write them to file
| pointBuffer | The buffer containing the point data |
Definition at line 108 of file GMMGnuplotVisualization.cpp.
|
private |
Definition at line 138 of file GMMGnuplotVisualization.h.
|
private |
Definition at line 140 of file GMMGnuplotVisualization.h.
|
private |
Definition at line 136 of file GMMGnuplotVisualization.h.