A reference counter memory releasing janitor class. More...
#include <xsens_janitors.h>
Public Member Functions | |
JanitorRCDelete (T *target=0, bool enabled=true) | |
Constructor. More... | |
![]() | |
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 | |
![]() | |
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_Delete > | ThisType |
A type definition for this type. More... | |
A reference counter memory releasing janitor class.
Definition at line 1168 of file xsens_janitors.h.
|
inline |
Constructor.
Definition at line 1174 of file xsens_janitors.h.