A reference counter memory releasing janitor class. More...
#include <xsens_janitors.h>

Public Member Functions | |
| JanitorRCFree (T *target=0, bool enabled=true) | |
| Constructor. More... | |
Public Member Functions inherited from xsens::JanitorRCDeallocation< T, JanitorRCDeallocationPolicy_Free > | |
| void | disable (void) |
| Disables the reference counting. More... | |
| void | enable (void) |
| Enables the reference counting. More... | |
| ElementType * | get () const throw () |
| JanitorRCDeallocation (const ThisType &j, bool enabled=true) | |
| Constructor with this type. More... | |
| JanitorRCDeallocation (ElementType *target=0, bool enabled=true) | |
| Constructor with an element type. More... | |
| ElementType & | operator* () const |
| ElementType * | operator-> () const |
| JanitorRCDeallocation & | operator= (const JanitorRCDeallocation &rhs) |
| Copy the data from rhs. More... | |
| void | reset (ElementType *p=0) throw () |
| Swaps an element type with this type. More... | |
| void | swap (JanitorRCDeallocation &other) throw () |
| Swaps the current object's variables with an other object's variables. More... | |
| virtual | ~JanitorRCDeallocation () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from xsens::JanitorRCDeallocation< T, JanitorRCDeallocationPolicy_Free > | |
| typedef T | ElementType |
| A type definition for an element type. More... | |
| typedef void(* | PostDeallocateFunc) () |
| A function prototype for a post deallocation function. More... | |
| typedef JanitorRCDeallocation< T, JanitorRCDeallocationPolicy_Free > | ThisType |
| A type definition for this type. More... | |
A reference counter memory releasing janitor class.
Definition at line 1156 of file xsens_janitors.h.
|
inline |
Constructor.
Definition at line 1162 of file xsens_janitors.h.