|
Rebel Fork Framework
|
Base class for weak pointer reference counting. More...
#include <Urho3D/Container/Ptr.h>
Public Member Functions | |
| int | Refs () const noexcept |
| Return the object's reference count, or 0 if null pointer or if object has expired. | |
| int | WeakRefs () const noexcept |
| Return the object's weak reference count. | |
| bool | Expired () const noexcept |
| Return whether the object has expired. If null pointer, always return true. | |
| RefCount * | RefCountPtr () const noexcept |
| Return pointer to the RefCount structure. | |
Protected Member Functions | |
| WeakPtrRefCountBase (const WeakPtrRefCountBase &rhs) noexcept | |
| WeakPtrRefCountBase (WeakPtrRefCountBase &&rhs) noexcept | |
| WeakPtrRefCountBase (RefCount *refCount) noexcept | |
| void | Swap (WeakPtrRefCountBase &rhs) noexcept |
| void | AddRef () noexcept |
| void | ReleaseRef () noexcept |
Private Attributes | |
| RefCount * | refCount_ {} |
Base class for weak pointer reference counting.