MRPT  1.9.9
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 405 of file CTimeLogger.cpp.

References 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: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019