#include <RefCounted.h>
Public Member Functions | |
void | addRef () const |
void | release () const |
Public Attributes | |
RefCounted & | parent |
Protected Member Functions | |
RefCountedChild (RefCounted &parent_) |
Delegates reference counts to the parent so that the parent is deleted only when there are no references to the parent or any of its children. TODO: Delete this class if it's unused as I don't think this class makes much sense: