|
cAudio 2.3.0
3d Audio Engine
|
Applies reference counting to certain cAudio objects. More...
#include <IRefCounted.h>

Public Member Functions | |
| virtual void | grab () |
| Increments the reference count by one. | |
| virtual bool | drop () |
| Decrements the reference count by one. If it hits zero, this object is deleted. | |
| int | getReferenceCount () const |
| Returns the current reference count of this object. | |
Protected Attributes | |
| int | RefCount |
Applies reference counting to certain cAudio objects.
Definition at line 12 of file IRefCounted.h.
|
inline |
Definition at line 15 of file IRefCounted.h.
|
inlinevirtual |
Definition at line 16 of file IRefCounted.h.
|
inlinevirtual |
Decrements the reference count by one. If it hits zero, this object is deleted.
Reimplemented in cAudio::cAudioSource.
Definition at line 25 of file IRefCounted.h.

|
inline |
Returns the current reference count of this object.
Definition at line 37 of file IRefCounted.h.

|
inlinevirtual |
Increments the reference count by one.
Definition at line 19 of file IRefCounted.h.

|
protected |
Definition at line 43 of file IRefCounted.h.