Class function calling janitor class with a parameter. More...
#include <xsens_janitors.h>
Public Types | |
| typedef R(T::* | t_func_JanitorClassFunc) (P1) |
| A function prototype for a janitor class. More... | |
Public Member Functions | |
| void | disable (void) |
| Disables the function calling. More... | |
| void | enable (void) |
| Enable the function calling. More... | |
| JanitorClassFuncP1 (T &control, P1 p1, t_func_JanitorClassFunc func, bool enabl=true) | |
| Constructor. More... | |
| ~JanitorClassFuncP1 () | |
| Destructor. More... | |
Private Member Functions | |
| const JanitorClassFuncP1 & | operator= (const JanitorClassFuncP1 &) |
Private Attributes | |
| T & | m_control |
| bool | m_enabled |
| t_func_JanitorClassFunc | m_funcJCF |
| P1 | m_param1 |
Class function calling janitor class with a parameter.
This class can be used to make sure that the given class function is called when the janitor leaves scope.
Definition at line 417 of file xsens_janitors.h.
| typedef R(T::* xsens::JanitorClassFuncP1< T, P1, R >::t_func_JanitorClassFunc) (P1) |
A function prototype for a janitor class.
Definition at line 420 of file xsens_janitors.h.
|
inline |
Constructor.
Definition at line 432 of file xsens_janitors.h.
|
inline |
Destructor.
Definition at line 439 of file xsens_janitors.h.
|
inline |
Disables the function calling.
Definition at line 447 of file xsens_janitors.h.
|
inline |
Enable the function calling.
Definition at line 454 of file xsens_janitors.h.
|
private |
|
private |
Definition at line 424 of file xsens_janitors.h.
|
private |
Definition at line 427 of file xsens_janitors.h.
|
private |
Definition at line 426 of file xsens_janitors.h.
|
private |
Definition at line 425 of file xsens_janitors.h.