Bayonne2 / Common C++ 2 Framework
Protected Member Functions | Static Protected Attributes
objCounter< T > Class Template Reference

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

#include <objcount.h>

Collaboration diagram for objCounter< T >:
Collaboration graph
[legend]

Protected Member Functions

  objCounter ()
 
virtual  ~objCounter ()
 

Static Protected Attributes

static unsigned  objCount = 0
 

Detailed Description

template<class T>
class 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.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org Object instance global reference count.

Definition at line 63 of file objcount.h.

Constructor & Destructor Documentation

template<class T >
inlineprotected

Definition at line 68 of file objcount.h.

template<class T >
virtual objCounter< T >::~objCounter ( )
inlineprotectedvirtual

Definition at line 69 of file objcount.h.

Field Documentation

template<class T >
unsigned objCounter< T >::objCount = 0
staticprotected

Definition at line 66 of file objcount.h.


The documentation for this class was generated from the following file:

Generated on Dec 21, 2017 for commoncpp2-1.8.1, ccrtp-1.7.2, libzrtpcpp-2.3.4, ccscript3-1.1.7, ccaudio2-1.0.0 and bayonne2-2.3.2 (after installation in /usr/local/) by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /