QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskObjectCounter Class Reference

Detailed Description

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
 

Member Enumeration Documentation

◆ ObjectType

enum QskObjectCounter::ObjectType

Definition at line 17 of file QskObjectCounter.h.

Constructor & Destructor Documentation

◆ QskObjectCounter()

QskObjectCounter::QskObjectCounter ( bool  debugAtDestruction = false)

Definition at line 250 of file QskObjectCounter.cpp.

◆ ~QskObjectCounter()

QskObjectCounter::~QskObjectCounter ( )

Definition at line 256 of file QskObjectCounter.cpp.

Member Function Documentation

◆ created()

int QskObjectCounter::created ( ObjectType  objectType = Objects) const

Definition at line 300 of file QskObjectCounter.cpp.

◆ current()

int QskObjectCounter::current ( ObjectType  objectType = Objects) const

Definition at line 310 of file QskObjectCounter.cpp.

◆ debugStatistics()

void QskObjectCounter::debugStatistics ( QDebug  debug,
ObjectType  objectType = Objects 
) const

Definition at line 320 of file QskObjectCounter.cpp.

◆ destroyed()

int QskObjectCounter::destroyed ( ObjectType  objectType = Objects) const

Definition at line 305 of file QskObjectCounter.cpp.

◆ dump()

void QskObjectCounter::dump ( ) const

Definition at line 353 of file QskObjectCounter.cpp.

◆ isActive()

bool QskObjectCounter::isActive ( ) const

Definition at line 287 of file QskObjectCounter.cpp.

◆ maximum()

int QskObjectCounter::maximum ( ObjectType  objectType = Objects) const

Definition at line 315 of file QskObjectCounter.cpp.

◆ reset()

void QskObjectCounter::reset ( )

Definition at line 292 of file QskObjectCounter.cpp.

◆ setActive()

void QskObjectCounter::setActive ( bool  on)

Definition at line 264 of file QskObjectCounter.cpp.