Ubuntu Manpages

ost::objCounter< T >

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

#include <objcount.h>


objCounter ()
virtual ~objCounter ()


static unsigned objCount = 0

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.

References ost::objCounter< T >::objCount.

References ost::objCounter< T >::objCount.

Referenced by ost::objCounter< T >::objCounter(), and ost::objCounter< T >::~objCounter().

Generated automatically by Doxygen for GNU CommonC++ from the source code.