Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::objCounter Class Template Reference

Generic template class for creating classes which maintain an active count of the number of instances currently in active use. Object instance global reference count. More...

#include <objcount.h>

List of all members.

Protected Methods

 objCounter ()
virtual ~objCounter ()

Static Protected Attributes

unsigned objCount = 0


Detailed Description

template<class T> class ost::objCounter

Generic template class for creating classes which maintain an active count of the number of instances currently in active use. Object instance global reference count.

This is a form of global reference count.

Author:
David Sugar <dyfet@gnutelephony.org>


Constructor & Destructor Documentation

template<class T>
ost::objCounter<T>::objCounter<T> ( ) [inline, protected]
 

template<class T>
ost::objCounter<T>::~objCounter<T> ( ) [inline, protected, virtual]
 


Member Data Documentation

template<class T>
unsigned ost::objCounter< T >::objCount = 0 [static, protected]
 


The documentation for this class was generated from the following file:
Generated at Fri May 30 14:51:03 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001