|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Class to count number of instances (objects created from a certain class). More...
Inheritance diagram for DiObjectCounter:Public Member Functions | |
| void | addReference () |
| add a reference. | |
| void | removeReference () |
| remove a reference. | |
Protected Member Functions | |
| DiObjectCounter () | |
| constructor. | |
| virtual | ~DiObjectCounter () |
| destructor | |
Private Attributes | |
| unsigned long | Counter |
| internal counter | |
| OFMutex | theMutex |
| if compiled for multi-thread operation, the Mutex protecting access to the value of this object. | |
Class to count number of instances (objects created from a certain class).
used to manage more than one reference to an object in a secure way.
|
inlineprotected |
|
inline |
|
inline |
|
private |
if compiled for multi-thread operation, the Mutex protecting access to the value of this object.
Referenced by DiObjectCounter(), addReference(), and removeReference().