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: 479715d5b Tue Nov 12 07:26:21 2019 +0100 at mar nov 12 07:30:12 CET 2019