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.
| ReferenceCounted::ReferenceCounted | ( | ) | [inline] |
| virtual ReferenceCounted::~ReferenceCounted | ( | ) | [inline, virtual] |
| virtual void ReferenceCounted::decrementRefCount | ( | ) | const [inline, virtual] |
Decrement the reference count, deleting if it becomes zero.
| unsigned int ReferenceCounted::getRefCount | ( | ) | const [inline] |
| void ReferenceCounted::incrementRefCount | ( | ) | const [inline] |
Increment the reference count.
unsigned int ReferenceCounted::_ref_count [protected] |
1.7.3