Public Member Functions | List of all members
xsens::JanitorRCFree< T, DeallocationPolicy > Class Template Reference

A reference counter memory releasing janitor class. More...

#include <xsens_janitors.h>

Inheritance diagram for xsens::JanitorRCFree< T, DeallocationPolicy >:
Inheritance graph
[legend]

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...
 
ElementTypeget () 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...
 
ElementTypeoperator* () const
 
ElementTypeoperator-> () const
 
JanitorRCDeallocationoperator= (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_FreeThisType
 A type definition for this type. More...
 

Detailed Description

template<class T, template< class > class DeallocationPolicy = JanitorRCDeallocationPolicy_Free>
class xsens::JanitorRCFree< T, DeallocationPolicy >

A reference counter memory releasing janitor class.

Definition at line 1156 of file xsens_janitors.h.

Constructor & Destructor Documentation

◆ JanitorRCFree()

template<class T , template< class > class DeallocationPolicy = JanitorRCDeallocationPolicy_Free>
xsens::JanitorRCFree< T, DeallocationPolicy >::JanitorRCFree ( T *  target = 0,
bool  enabled = true 
)
inline

Constructor.

Definition at line 1162 of file xsens_janitors.h.


The documentation for this class was generated from the following file:


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:23