#include <MAUtil/RefCounted.h>
Inheritance diagram for MAUtil::RefCounted:
Public Member Functions | |
RefCounted (int startCount=1) | |
Constructor, initializes the initial reference count to startCount. | |
void | addRef () |
Increments the reference count by one. | |
void | release () |
Decrements the reference count by one. | |
int | getRefCount () |
Returns the current reference count. | |
virtual | ~RefCounted () |
|
Constructor, initializes the initial reference count to startCount.
|
|
|
|
Increments the reference count by one.
|
|
Decrements the reference count by one.
|
|
Returns the current reference count.
|