audiere::RefCounted Class Reference

#include <audiere.h>

Inheritance diagram for audiere::RefCounted:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void ref ()=0
virtual void unref ()=0

Protected Member Functions

 ~RefCounted ()

Detailed Description

Definition at line 72 of file audiere.h.


Constructor & Destructor Documentation

audiere::RefCounted::~RefCounted  )  [inline, protected]
 

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.

Definition at line 81 of file audiere.h.


Member Function Documentation

virtual void audiere::RefCounted::ref  )  [pure virtual]
 

Add a reference to the internal reference count.

virtual void audiere::RefCounted::unref  )  [pure virtual]
 

Remove a reference from the internal reference count. When this reaches 0, the object is destroyed.


The documentation for this class was generated from the following file:
Generated on Mon Feb 13 23:07:16 2006 for audiere by  doxygen 1.4.6