Class function calling janitor class.
This class can be used to make sure that the given class function is called when the janitor leaves scope.
Definition at line 137 of file xsens_janitors.h.
#include <xSens_MT3/xsens_janitors.h>
Public Types | |
typedef R(T::* | t_func_JanitorClasssFunc) (void) |
Public Member Functions | |
JanitorClassFunc (T &control, t_func_JanitorClasssFunc func, bool enabl=true) | |
~JanitorClassFunc () | |
void | disable (void) |
void | enable (void) |
Private Attributes | |
T & | m_control |
t_func_JanitorClasssFunc | m_funcJCF |
bool | m_enabled |
typedef R(T::* xsens::JanitorClassFunc< T, R >::t_func_JanitorClasssFunc) (void) |
Definition at line 139 of file xsens_janitors.h.
|
inline |
Definition at line 146 of file xsens_janitors.h.
|
inline |
Definition at line 150 of file xsens_janitors.h.
|
inline |
Definition at line 156 of file xsens_janitors.h.
|
inline |
Definition at line 159 of file xsens_janitors.h.
|
private |
Definition at line 141 of file xsens_janitors.h.
Referenced by xsens::JanitorClassFunc< xsens::List< uint32_t > >::~JanitorClassFunc().
|
private |
Definition at line 143 of file xsens_janitors.h.
Referenced by xsens::JanitorClassFunc< xsens::List< uint32_t > >::disable(), xsens::JanitorClassFunc< xsens::List< uint32_t > >::enable(), and xsens::JanitorClassFunc< xsens::List< uint32_t > >::~JanitorClassFunc().
|
private |
Definition at line 142 of file xsens_janitors.h.
Referenced by xsens::JanitorClassFunc< xsens::List< uint32_t > >::~JanitorClassFunc().
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 |