![]() |
Murl Engine API
Version 2018.3
|
Counter class of a Specified pointer type. More...
#include <murl_shared_pointer_private.h>
Counter class of a Specified pointer type.
Public Member Functions | |
CounterType (RawType *rawPointer, DeleterType deleter) | |
Construct the reference counter. More... | |
![]() | |
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 | |
virtual void | DeleteObject () |
Call the deleter functor. | |
![]() | |
CounterBase () | |
Default constructor sets the reference counters to 1. | |
virtual | ~CounterBase () |
The destructor. | |
|
inline |
Construct the reference counter.
rawPointer | The raw memory pointer. |
deleter | The deleter functor. |