|
ACT-CV - Machine Vision for Cognitive Modeling
|
count the number of references and delete the object if the number is zero More...
#include <garbagecoll.h>


Public Member Functions | |
| ReferenceCount () | |
| virtual | ~ReferenceCount () |
| void | IncRefCount () |
| void | DecRefCount () |
Private Attributes | |
| int | numReferences |
count the number of references and delete the object if the number is zero
Definition at line 39 of file garbagecoll.h.
| ReferenceCount::ReferenceCount | ( | ) |
Definition at line 42 of file garbagecoll.h.
|
virtual |
Definition at line 43 of file garbagecoll.h.
| void ReferenceCount::DecRefCount | ( | ) |
Definition at line 47 of file garbagecoll.h.
References numReferences.
| void ReferenceCount::IncRefCount | ( | ) |
Definition at line 44 of file garbagecoll.h.
References numReferences.
|
private |
Definition at line 40 of file garbagecoll.h.
Referenced by DecRefCount(), and IncRefCount().