Class that should be inherited by objects using intrusive_ptr.
More...
#include <kanzi/core/cpp/intrusive_ptr.hpp>
Class that should be inherited by objects using intrusive_ptr.
◆ UsingIntrusivePtr()
kanzi::UsingIntrusivePtr::UsingIntrusivePtr |
( |
| ) |
|
|
inline |
◆ 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: