![]() |
Murl Engine API
Version 2025.1
|
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... | |
Public Member Functions inherited from Murl::SharedPointerPrivate::CounterBase | |
| 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 | |
| void | DeleteObject () override |
| Call the deleter functor. | |
Protected Member Functions inherited from Murl::SharedPointerPrivate::CounterBase | |
| 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. |