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


Constructor & Destructor Documentation

◆ CTimeLoggerSaveAtDtor()

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

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: 24b95e159 Thu Jan 23 01:15:46 2020 +0100 at jue ene 23 01:30:10 CET 2020