17#ifndef __albaReferenceCounted_h
18#define __albaReferenceCounted_h
Abstract superclass for all ALBA classes implementing RTTI APIs.
albaReferenceCounted - abstract base class for ALBA objects with reference counting.
int m_ReferenceCount
Number of uses of this object by other objects.
albaAbstractTypeMacro(albaReferenceCounted, albaObject)
int GetReferenceCount()
Return the current reference count of this object.
void SetReferenceCount(int)
Sets the reference count.
virtual void UnRegister(void *obj)
Decrease the reference count (release by another object).
virtual void Delete()
Delete a ALBA object.
void Register(void *obj)
Increase the reference count (mark as used by another object).
virtual ~albaReferenceCounted()