libwt
1.0.0
A C++ library for the continous wavelet transform.
|
Base class of all managed objects. More...
#include <object.hh>
Public Member Functions | |
virtual | ~Object () |
Destructor. More... | |
Object * | ref () |
Retunrs a new reference to the object (increases the reference counter). More... | |
void | unref () |
Invalidates this reference to the object (decreases the reference counter). More... | |
Protected Member Functions | |
Object () | |
Hidden constructor. More... | |
Protected Attributes | |
size_t | _refCount |
The reference counter. More... | |
Base class of all managed objects.
In conjecture with Container
, the references of all managed objects are handled automatically and a destroyed once the last reference to an object is lost.
|
protected |
Hidden constructor.
|
virtual |
Destructor.
Object * Object::ref | ( | ) |
Retunrs a new reference to the object (increases the reference counter).
void Object::unref | ( | ) |
Invalidates this reference to the object (decreases the reference counter).
|
protected |
The reference counter.