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

ost::objCounter< T > 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 Member Functions

 objCounter ()
virtual ~objCounter ()

Static Protected Attributes

static unsigned objCount = 0


Detailed Description

template<class T>
class ost::objCounter< T >

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  )  [inline, protected]
 

template<class T>
virtual ost::objCounter< T >::~objCounter  )  [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 on Fri Dec 9 23:30:08 2005 for GNU CommonC++ by  doxygen 1.4.4