#include <audiere.h>
Inheritance diagram for audiere::RefCounted:
Public Member Functions | |
virtual void | ref ()=0 |
virtual void | unref ()=0 |
Protected Member Functions | |
~RefCounted () |
Definition at line 72 of file audiere.h.
|
Protected so users of refcounted classes don't use std::auto_ptr or the delete operator. Interfaces that derive from RefCounted should define an inline, empty, protected destructor as well. |
|
Add a reference to the internal reference count. |
|
Remove a reference from the internal reference count. When this reaches 0, the object is destroyed. |