![]() |
Murl Engine API
Version 2018.3
|
The counter base class. More...
#include <murl_shared_pointer_private.h>
The counter base class.
Public Member Functions | |
void | AddReference () |
Add a shared pointer reference to the counter. | |
void | ReleaseReference () |
Release a shared pointer reference from the counter. More... | |
UInt32 | GetCount () |
Get current usage count. More... | |
void | AddWeakReference () |
Add a weak pointer reference to the counter. | |
void | ReleaseWeakReference () |
Release a weak pointer reference from the counter. More... | |
Protected Member Functions | |
CounterBase () | |
Default constructor sets the reference counters to 1. | |
virtual | ~CounterBase () |
The destructor. | |
virtual void | DeleteObject ()=0 |
The object delete method. | |
|
inline |
Release a shared pointer reference from the counter.
If this is the last reference the objects deletes itself.
|
inline |
Get current usage count.
|
inline |
Release a weak pointer reference from the counter.
If this is the last reference the objects deletes itself.