ost_objCounter(3)

ost_objCounter3

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

Usage

#include <objcount.h>

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.

This is a form of global reference count.

Author

David Sugar [email protected]

Object instance global reference count.

Constructor & Destructor Documentation

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

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

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

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

Member Data Documentation

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

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

Releases

8 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11

Author

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

From libcommoncpp2-doc 1.8.1-10 in Debian 11 (Bullseye). Parsed by carta from the page's man source.