MRPT  2.0.4
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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020