kanzi::UsingIntrusivePtr Class Reference

Class that should be inherited by objects using intrusive_ptr. More...

#include <kanzi/core/cpp/intrusive_ptr.hpp>

Inheritance diagram for kanzi::UsingIntrusivePtr:
kanzi::AbstractPropertyTypeDescriptor::PropertyStorage

Public Member Functions

 UsingIntrusivePtr ()
 
void intrusivePtrAddReference ()
 Increment intrusive_ptr reference counter. More...
 
bool intrusivePtrRelease ()
 Decrement intrusive_ptr reference counter. More...
 
unsigned int getIntrusiveReferenceCount () const
 Access reference count for the intrusive pointer. More...
 

Detailed Description

Class that should be inherited by objects using intrusive_ptr.

Constructor & Destructor Documentation

kanzi::UsingIntrusivePtr::UsingIntrusivePtr ( )
inline

Member Function Documentation

void kanzi::UsingIntrusivePtr::intrusivePtrAddReference ( )
inline

Increment intrusive_ptr reference counter.

bool kanzi::UsingIntrusivePtr::intrusivePtrRelease ( )
inline

Decrement intrusive_ptr reference counter.

Returns
True if the ptr should be released.
unsigned int kanzi::UsingIntrusivePtr::getIntrusiveReferenceCount ( ) const
inline

Access reference count for the intrusive pointer.

Should normally not be called by user.

Returns
Current reference count.

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