MRPT  1.9.9
List of all members | Public Member Functions | Public Attributes
mrpt::system::CTimeLoggerSaveAtDtor Struct Reference

Detailed Description

A helper class to save CSV stats upon self destruction, for example, at the end of a program run.

The target file will be named after timelogger's name.

Definition at line 209 of file system/CTimeLogger.h.

#include <mrpt/system/CTimeLogger.h>

Public Member Functions

 CTimeLoggerSaveAtDtor (mrpt::system::CTimeLogger &tm)
 
 ~CTimeLoggerSaveAtDtor ()
 

Public Attributes

mrpt::system::CTimeLoggerm_tm
 

Constructor & Destructor Documentation

◆ CTimeLoggerSaveAtDtor()

mrpt::system::CTimeLoggerSaveAtDtor::CTimeLoggerSaveAtDtor ( mrpt::system::CTimeLogger tm)
inline

Definition at line 213 of file system/CTimeLogger.h.

◆ ~CTimeLoggerSaveAtDtor()

CTimeLoggerSaveAtDtor::~CTimeLoggerSaveAtDtor ( )

Definition at line 443 of file CTimeLogger.cpp.

References mrpt::exception_to_str(), mrpt::system::fileNameStripInvalidChars(), mrpt::system::CTimeLogger::getName(), mrpt::system::COutputLogger::logStr(), mrpt::system::LVL_INFO, m_tm, and mrpt::system::CTimeLogger::saveToMFile().

Here is the call graph for this function:

Member Data Documentation

◆ m_tm

mrpt::system::CTimeLogger& mrpt::system::CTimeLoggerSaveAtDtor::m_tm

Definition at line 211 of file system/CTimeLogger.h.

Referenced by ~CTimeLoggerSaveAtDtor().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020