#include <logfile.h>
Inherited by PlotLog.
Inheritance diagram for LogFile:

Definition at line 22 of file logfile.h.
| Public Member Functions | |
| LogFile (const std::string &filename="", const std::string &info="", const std::string &separator="\t") | |
| ~LogFile () | |
| void | setInfo (const std::string &info) | 
| void | addChannel (const T &name) | 
| void | putData (const T &channel, double value) | 
| void | comment (const std::string &text) | 
| void | print_names_list () | 
| void | print () | 
| Protected Types | |
| typedef std::map< T, double > | data_map | 
| typedef std::list< T > | names_list | 
| Protected Member Functions | |
| void | init () | 
| Protected Attributes | |
| FILE * | f | 
| data_map | data | 
| names_list | names | 
| std::string | filename | 
| std::string | info | 
| std::string | separator | 
| int | line_counter | 
| bool | _print_names_list | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | 
| 
 | 
| print comment line in file format is "#%d: %s" Definition at line 57 of file logfile.h. | 
| 
 | 
| 
 | 
| print data line in file format is "%5.3f%s" * number of channels s is the separator string usually "\t" Definition at line 72 of file logfile.h. | 
| 
 | 
| print numbered names list in file header Definition at line 65 of file logfile.h. | 
| 
 | ||||||||||||
| 
 Reimplemented in PlotLog. | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
 1.3.8
 1.3.8