MRPT
1.9.9
|
Memory releasing janitor class.
This class can be used to make sure that the associated object is deleted when the janitor leaves scope.
Definition at line 88 of file xsens_janitors.h.
#include <xSens_MT3/xsens_janitors.h>
Public Member Functions | |
JanitorDelete (T *control, bool enabl=true) | |
~JanitorDelete () | |
void | disable (void) |
void | enable (void) |
Private Attributes | |
T * | m_control |
bool | m_enabled |
|
inline |
Definition at line 95 of file xsens_janitors.h.
|
inline |
Definition at line 99 of file xsens_janitors.h.
References xsens::JanitorDelete< T >::m_control, and xsens::JanitorDelete< T >::m_enabled.
|
inline |
Definition at line 104 of file xsens_janitors.h.
References xsens::JanitorDelete< T >::m_enabled.
|
inline |
Definition at line 105 of file xsens_janitors.h.
References xsens::JanitorDelete< T >::m_enabled.
|
private |
Definition at line 91 of file xsens_janitors.h.
Referenced by xsens::JanitorDelete< T >::~JanitorDelete().
|
private |
Definition at line 92 of file xsens_janitors.h.
Referenced by xsens::JanitorDelete< T >::disable(), xsens::JanitorDelete< T >::enable(), and xsens::JanitorDelete< T >::~JanitorDelete().
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 |