DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_objCounter.3.en
ost::objCounter< T >(3) Library Functions Manual ost::objCounter< T >(3)

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.

Wed Oct 31 2018 GNU CommonC++