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

#include <cel_referable.h>

Inheritance diagram for Celartem::ReferableNoTS:
Inheritance graph

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 ( )

The constructor resets the reference count to 0.

Member Function Documentation

void Celartem::ReferableNoTS::addRef ( ) const

This method increments the reference count.

size_t Celartem::ReferableNoTS::getReferenceCount ( ) const

This method obtains the current reference count of the instance.

void Celartem::ReferableNoTS::releaseRef ( ) const

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