#include <Referenced.h>
Public Member Functions | |
Referenced () | |
Protected Member Functions | |
kt_int32s | GetReferenceCount () |
kt_int32s | Reference () const |
kt_int32s | Unreference () const |
kt_int32s | UnreferenceNoDelete () const |
Private Member Functions | |
const Referenced & | operator= (const Referenced &) |
Referenced (const Referenced &) | |
Private Attributes | |
ReferencedPrivate * | m_pReferencedPrivate |
Base class for reference-counted objects. Combined with SmartPointer<T>, any subclass of Referenced will automatically be garbage collected when unreferenced.
Definition at line 42 of file Referenced.h.
karto::Referenced::Referenced | ( | ) |
Default constructor
Definition at line 51 of file Referenced.cpp.
|
private |
|
protected |
|
private |
|
protected |
public: /** Increases the reference count
Definition at line 68 of file Referenced.cpp.
|
protected |
|
protected |
Decreases the reference count. Does not delete the object if the reference count goes to 0.
Definition at line 99 of file Referenced.cpp.
|
private |
Definition at line 91 of file Referenced.h.