#include <state-observation/tools/logger.hpp>
◆ Tmap
◆ Tpair
◆ Logger()
| stateObservation::tools::Logger::Logger |
( |
| ) |
|
◆ ~Logger()
| virtual stateObservation::tools::Logger::~Logger |
( |
| ) |
|
|
virtual |
◆ clearLogs()
| void stateObservation::tools::Logger::clearLogs |
( |
| ) |
|
clears the logs but keeps the tracking including time indexation
◆ clearTracking()
| void stateObservation::tools::Logger::clearTracking |
( |
| ) |
|
clears all the tracking lists and delete all the logs
◆ getRecord() [1/2]
◆ getRecord() [2/2]
◆ push() [1/3]
| void stateObservation::tools::Logger::push |
( |
| ) |
|
updates all the logs for all recorded variables
◆ push() [2/3]
| void stateObservation::tools::Logger::push |
( |
const T & |
reference | ) |
|
update the log with a new value of the reference
◆ push() [3/3]
| void stateObservation::tools::Logger::push |
( |
const T * |
address | ) |
|
◆ record() [1/2]
| void stateObservation::tools::Logger::record |
( |
const T & |
reference, |
|
|
const std::string & |
filename = std::string("") |
|
) |
| |
◆ record() [2/2]
| void stateObservation::tools::Logger::record |
( |
const T * |
address, |
|
|
const std::string & |
filename = std::string("") |
|
) |
| |
Use this function to start the recoding of this variable. WARNING: Be sure that the recorded variable keeps the same memory address otherwise use updateAddress
◆ save()
◆ setPath()
| void stateObservation::tools::Logger::setPath |
( |
const std::string & |
path | ) |
|
set the Path for the log files, the filenames will be appended to this path
◆ update_()
| void stateObservation::tools::Logger::update_ |
( |
const Tmap::iterator & |
i | ) |
|
|
protected |
◆ updateAddress()
| void stateObservation::tools::Logger::updateAddress |
( |
const void * |
oldAddress, |
|
|
const T * |
newAddress |
|
) |
| |
updates the address of a recorded variable with a new address
◆ logs_
◆ path_
| std::string stateObservation::tools::Logger::path_ |
|
protected |
◆ scalar_
| Matrix stateObservation::tools::Logger::scalar_ |
|
protected |
The documentation for this class was generated from the following file: