Kanzi Framework  3.9.0
Kanzi Engine API
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:
[legend]

Public Member Functions

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

Detailed Description

Class that should be inherited by objects using intrusive_ptr.

Constructor & Destructor Documentation

◆ UsingIntrusivePtr()

kanzi::UsingIntrusivePtr::UsingIntrusivePtr ( )
inline

Member Function Documentation

◆ intrusivePtrAddReference()

void kanzi::UsingIntrusivePtr::intrusivePtrAddReference ( )
inline

Increment intrusive_ptr reference counter.

◆ intrusivePtrRelease()

bool kanzi::UsingIntrusivePtr::intrusivePtrRelease ( )
inline

Decrement intrusive_ptr reference counter.

Returns
True if the ptr should be released.

◆ getIntrusiveReferenceCount()

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: