ost::objCounter
ost::objCounter
Section: C Library Functions (3) Updated: 16 Feb 2010 Local index
Up
NAME
ost::objCounter -
Generic template class for creating classes which maintain an active count of the number of instances currently in active use.
SYNOPSIS
#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 <dyfet@gnutelephony.org> 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 [inline, static, protected]
Referenced by ost::objCounter< T >::objCounter(), and ost::objCounter< T >::~objCounter().
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
Index
- NAME
-
- SYNOPSIS
-
- Protected Member Functions
-
- Static Protected Attributes
-
- Detailed Description
-
- template<class T> class ost::objCounter< T >
-
- 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 [inline, static, protected]
-
- Author
-
This document was created by
man2html,
using the manual pages.
Time: 21:51:51 GMT, April 16, 2011