ost::objCounter< T > - Generic template class for creating classes which maintain an active count of the
Contents
Constructor & Destructor Documentation
template<classT>ost::objCounter<T>::objCounter()[inline],[protected]
References ost::objCounter< T >::objCount.
template<classT>virtualost::objCounter<T>::~objCounter()[inline],[protected],[virtual]
References ost::objCounter< T >::objCount.
Detailed Description
template<classT>
class ost::objCounter< T >" Generic template class for creating classes which maintain an active count of
the number of instances currently in active use.
This is a form of global reference count.
Author
David Sugar dyfet@gnutelephony.org
Object instance global reference count.
Member Data Documentation
template<classT>unsignedost::objCounter<T>::objCount=0[static],[protected]
Referenced by ost::objCounter< T >::objCounter(), and ost::objCounter< T >::~objCounter().
Name
ost::objCounter< T > - Generic template class for creating classes which maintain an active count of the
number of instances currently in active use.
Synopsis
#include <objcount.h>
ProtectedMemberFunctionsobjCounter ()
virtual ~objCounter ()
StaticProtectedAttributes
static unsigned objCount = 0
