.TH "ost::objCounter< T >" 3 "Sun Dec 27 2020" "GNU CommonC++" \" -*- nroff -*- .ad l .nh .SH NAME ost::objCounter< T > \- Generic template class for creating classes which maintain an active count of the number of instances currently in active use\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Protected Member Functions" .in +1c .ti -1c .RI "\fBobjCounter\fP ()" .br .ti -1c .RI "virtual \fB~objCounter\fP ()" .br .in -1c .SS "Static Protected Attributes" .in +1c .ti -1c .RI "static unsigned \fBobjCount\fP = 0" .br .in -1c .SH "Detailed Description" .PP .SS "template .br 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\&. .PP \fBAuthor\fP .RS 4 David Sugar dyfet@gnutelephony.org .RE .PP Object instance global reference count\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fBost::objCounter\fP< T >::\fBobjCounter\fP ()\fC [inline]\fP, \fC [protected]\fP" .PP References ost::objCounter< T >::objCount\&. .SS "template virtual \fBost::objCounter\fP< T >::~\fBobjCounter\fP ()\fC [inline]\fP, \fC [protected]\fP, \fC [virtual]\fP" .PP References ost::objCounter< T >::objCount\&. .SH "Member Data Documentation" .PP .SS "template unsigned \fBost::objCounter\fP< T >::objCount = 0\fC [static]\fP, \fC [protected]\fP" .PP Referenced by ost::objCounter< T >::objCounter(), and ost::objCounter< T >::~objCounter()\&. .SH "Author" .PP Generated automatically by Doxygen for GNU CommonC++ from the source code\&.