Super class for reference counted classes. More...
#include <ReferenceCounted.hpp>

Public Member Functions | |
| ReferenceCounted () | |
| virtual | ~ReferenceCounted () |
| void | incrementRefCount () const |
| Increment the reference count. | |
| virtual void | decrementRefCount () const |
| Decrement the reference count, deleting if it becomes zero. | |
| unsigned int | getRefCount () const |
Protected Attributes | |
| unsigned int | _ref_count |
Super class for reference counted classes.
|
inline |
References _ref_count.
|
inlinevirtual |
|
inlinevirtual |
Decrement the reference count, deleting if it becomes zero.
References _ref_count.
|
inline |
References _ref_count.
|
inline |
Increment the reference count.
References _ref_count.
|
protected |
Referenced by decrementRefCount(), getRefCount(), incrementRefCount(), and ReferenceCounted().