Counter base class.
More...
#include <counter.h>
|
static size_t | getTotalCounter () |
| Static getter for totaly created objects.
|
|
static size_t | getAliveCounter () |
| Static getter for objects alive.
|
|
static size_t | getWatermarkCounter () |
| Static getter for the object counter watermark.
|
|
|
| Counter () |
| Ctor.
|
|
| Counter (const Counter< T > &) |
| Copy ctor.
|
|
| ~Counter () |
| Dtor.
|
|
|
static size_t | total_ = 0 |
| Number of objects created. More...
|
|
static Watermark | watermark_ {} |
| Counter and maximum of objects alive at a point in time.
|
|
template<typename T>
class Counter< T >
Counter base class.
- Invariant
- Can't be instantiated. This is forced by a protected ctor.
◆ total_
Number of objects created.
Indented for performance analysis.
The documentation for this class was generated from the following file: