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 116 of file xsens_janitors.h.
#include <xSens_MT3/xsens_janitors.h>
Public Member Functions | |
JanitorDeleteArray (T *control, bool enabl=true) | |
~JanitorDeleteArray () | |
void | disable (void) |
void | enable (void) |
Private Attributes | |
T * | m_control |
bool | m_enabled |
|
inline |
Definition at line 123 of file xsens_janitors.h.
|
inline |
Definition at line 127 of file xsens_janitors.h.
References xsens::JanitorDeleteArray< T >::m_control, and xsens::JanitorDeleteArray< T >::m_enabled.
|
inline |
Definition at line 132 of file xsens_janitors.h.
References xsens::JanitorDeleteArray< T >::m_enabled.
|
inline |
Definition at line 133 of file xsens_janitors.h.
References xsens::JanitorDeleteArray< T >::m_enabled.
|
private |
Definition at line 119 of file xsens_janitors.h.
Referenced by xsens::JanitorDeleteArray< T >::~JanitorDeleteArray().
|
private |
Definition at line 120 of file xsens_janitors.h.
Referenced by xsens::JanitorDeleteArray< T >::disable(), xsens::JanitorDeleteArray< T >::enable(), and xsens::JanitorDeleteArray< T >::~JanitorDeleteArray().
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 |