Jack2  1.9.9
Public Member Functions | List of all members
Jack::JackGnuPlotMonitor< T > Class Template Reference

Generic monitoring class. Saves data to GnuPlot files ('.plt' and '.log' datafile) More...

#include <JackTools.h>

Public Member Functions

 JackGnuPlotMonitor (uint32_t measure_cnt, uint32_t measure_points, std::string name)
 
AddNew (T measure_point)
 
uint32_t New ()
 
Add (T measure_point)
 
uint32_t AddLast (T measure_point)
 
uint32_t Write ()
 
int Save (std::string name=std::string(""))
 
int SetPlotFile (std::string *options_list, uint32_t options_number, std::string *field_names, uint32_t field_number, std::string name=std::string(""))
 

Detailed Description

template<class T>
class Jack::JackGnuPlotMonitor< T >

Generic monitoring class. Saves data to GnuPlot files ('.plt' and '.log' datafile)

This template class allows to manipulate monitoring records, and automatically generate the GnuPlot config and data files. Operations are RT safe because it uses fixed size data buffers. You can set the number of measure points, and the number of records.

To use it :

You can also call SetPlotFile() to automatically generate '.plt' file from an options list.

Definition at line 101 of file JackTools.h.


The documentation for this class was generated from the following file: