Public Member Functions | List of all members
Celartem::ReferableNoTS Class Reference

#include <cel_referable.h>

Inheritance diagram for Celartem::ReferableNoTS:
Inheritance graph
[legend]

Public Member Functions

 ReferableNoTS ()
 
void addRef () const
 
void releaseRef () const
 
size_t getReferenceCount () const
 

Detailed Description

An alternative implementation for Referable class. This class doesn't assure the thread-safety.

Constructor & Destructor Documentation

Celartem::ReferableNoTS::ReferableNoTS ( )
inline

The constructor resets the reference count to 0.

Member Function Documentation

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:

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo