A safe way to call enter() and leave() of a mrpt::utils::CTimeLogger upon construction and destruction of this auxiliary object, making sure that leave() will be called upon exceptions, etc.
Usage:
Definition at line 127 of file CTimeLogger.h.
#include <mrpt/utils/CTimeLogger.h>
Public Member Functions | |
CTimeLoggerEntry (const CTimeLogger &logger, const char *section_name) | |
~CTimeLoggerEntry () | |
Public Attributes | |
CTimeLogger & | m_logger |
const char * | m_section_name |
CTimeLoggerEntry::CTimeLoggerEntry | ( | const CTimeLogger & | logger, |
const char * | section_name | ||
) |
Definition at line 302 of file CTimeLogger.cpp.
References mrpt::utils::CTimeLogger::enter(), m_logger, and m_section_name.
CTimeLoggerEntry::~CTimeLoggerEntry | ( | ) |
Definition at line 306 of file CTimeLogger.cpp.
References mrpt::utils::CTimeLogger::leave(), m_logger, and m_section_name.
CTimeLogger& mrpt::utils::CTimeLoggerEntry::m_logger |
Definition at line 131 of file CTimeLogger.h.
Referenced by CTimeLoggerEntry(), and ~CTimeLoggerEntry().
const char* mrpt::utils::CTimeLoggerEntry::m_section_name |
Definition at line 132 of file CTimeLogger.h.
Referenced by CTimeLoggerEntry(), and ~CTimeLoggerEntry().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |