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.
kanzi::UsingIntrusivePtr::UsingIntrusivePtr |
( |
| ) |
|
|
inline |
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: