QSkinny 0.8.0
C++/Qt UI toolkit
|
Definition at line 14 of file QskObjectCounter.h.
Public Types | |
enum | ObjectType { Objects , Items } |
Public Member Functions | |
QskObjectCounter (bool debugAtDestruction=false) | |
void | setActive (bool) |
bool | isActive () const |
void | reset () |
int | created (ObjectType=Objects) const |
int | destroyed (ObjectType=Objects) const |
int | current (ObjectType=Objects) const |
int | maximum (ObjectType=Objects) const |
void | debugStatistics (QDebug, ObjectType=Objects) const |
void | dump () const |
enum QskObjectCounter::ObjectType |
Definition at line 17 of file QskObjectCounter.h.
QskObjectCounter::QskObjectCounter | ( | bool | debugAtDestruction = false | ) |
Definition at line 250 of file QskObjectCounter.cpp.
QskObjectCounter::~QskObjectCounter | ( | ) |
Definition at line 256 of file QskObjectCounter.cpp.
int QskObjectCounter::created | ( | ObjectType | objectType = Objects | ) | const |
Definition at line 300 of file QskObjectCounter.cpp.
int QskObjectCounter::current | ( | ObjectType | objectType = Objects | ) | const |
Definition at line 310 of file QskObjectCounter.cpp.
void QskObjectCounter::debugStatistics | ( | QDebug | debug, |
ObjectType | objectType = Objects |
||
) | const |
Definition at line 320 of file QskObjectCounter.cpp.
int QskObjectCounter::destroyed | ( | ObjectType | objectType = Objects | ) | const |
Definition at line 305 of file QskObjectCounter.cpp.
void QskObjectCounter::dump | ( | ) | const |
Definition at line 353 of file QskObjectCounter.cpp.
bool QskObjectCounter::isActive | ( | ) | const |
Definition at line 287 of file QskObjectCounter.cpp.
int QskObjectCounter::maximum | ( | ObjectType | objectType = Objects | ) | const |
Definition at line 315 of file QskObjectCounter.cpp.
void QskObjectCounter::reset | ( | ) |
Definition at line 292 of file QskObjectCounter.cpp.
void QskObjectCounter::setActive | ( | bool | on | ) |
Definition at line 264 of file QskObjectCounter.cpp.