MRPT
1.9.9
|
A safe way to call enter() and leave() of a mrpt::system::CTimeLogger upon construction and destruction of this auxiliary object, making sure that leave() will be called upon exceptions, etc.
Usage:
Definition at line 149 of file system/CTimeLogger.h.
#include <mrpt/system/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 293 of file CTimeLogger.cpp.
References mrpt::system::CTimeLogger::enter(), m_logger, and m_section_name.
CTimeLoggerEntry::~CTimeLoggerEntry | ( | ) |
Definition at line 299 of file CTimeLogger.cpp.
References mrpt::system::CTimeLogger::leave(), m_logger, and m_section_name.
CTimeLogger& mrpt::system::CTimeLoggerEntry::m_logger |
Definition at line 153 of file system/CTimeLogger.h.
Referenced by CTimeLoggerEntry(), and ~CTimeLoggerEntry().
const char* mrpt::system::CTimeLoggerEntry::m_section_name |
Definition at line 154 of file system/CTimeLogger.h.
Referenced by CTimeLoggerEntry(), and ~CTimeLoggerEntry().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020 |