#include <cel_referable.h>
An alternative implementation for Referable class. This class doesn't assure the thread-safety.
Celartem::ReferableNoTS::ReferableNoTS |
( |
| ) |
|
|
inline |
The constructor resets the reference count to 0.
void Celartem::ReferableNoTS::addRef |
( |
| ) |
const |
|
inline |
This method increments the reference count.
size_t Celartem::ReferableNoTS::getReferenceCount |
( |
| ) |
const |
|
inline |
This method obtains the current reference count of the instance.
void Celartem::ReferableNoTS::releaseRef |
( |
| ) |
const |
|
inline |
This method decrements the reference count and if the reference count becomes 0, it also delete the instance.
The documentation for this class was generated from the following file: