Celartem::ReferableNoTS Class Reference

#include <cel_referable.h>

Inheritance diagram for Celartem::ReferableNoTS:

Inheritance graph
[legend]

List of all members.

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.

Definition at line 73 of file cel_referable.h.


Constructor & Destructor Documentation

Celartem::ReferableNoTS::ReferableNoTS (  )  [inline]

The constructor resets the reference count to 0.

Definition at line 79 of file cel_referable.h.


Member Function Documentation

void Celartem::ReferableNoTS::addRef (  )  const [inline]

This method increments the reference count.

Definition at line 84 of file cel_referable.h.

void Celartem::ReferableNoTS::releaseRef (  )  const [inline]

This method decrements the reference count and if the reference count becomes 0, it also delete the instance.

Definition at line 93 of file cel_referable.h.

size_t Celartem::ReferableNoTS::getReferenceCount (  )  const [inline]

This method obtains the current reference count of the instance.

Definition at line 102 of file cel_referable.h.


The documentation for this class was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:19 2008.