KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
KviLagMeter Class Reference

#include <KviLagMeter.h>

+ Inheritance diagram for KviLagMeter:

Public Member Functions

unsigned int lag ()
 
void lagCheckAbort (const char *key)
 
bool lagCheckComplete (const char *key)
 
void lagCheckRegister (const char *key, unsigned int uReliability=50)
 
unsigned int secondsSinceLastCompleted ()
 

Protected Member Functions

 KviLagMeter (KviIrcConnection *c)
 
virtual void timerEvent (QTimerEvent *e)
 
 ~KviLagMeter ()
 

Protected Attributes

bool m_bOnAlarm
 
KviPointerList< KviLagCheck > * m_pCheckList
 
KviIrcConnectionm_pConnection
 
bool * m_pDeletionSignal
 
long m_tFirstOwnCheck
 
long m_tLastCompleted
 
long m_tLastOwnCheck
 
unsigned int m_uLag
 
unsigned int m_uLastEmittedLag
 
unsigned int m_uLastReliability
 

Friends

class KviIrcConnection
 

Constructor & Destructor Documentation

KviLagMeter::KviLagMeter ( KviIrcConnection c)
protected
KviLagMeter::~KviLagMeter ( )
protected

References m_pCheckList, and m_pDeletionSignal.

Member Function Documentation

unsigned int KviLagMeter::lag ( )
inline
void KviLagMeter::lagCheckAbort ( const char *  key)
bool KviLagMeter::lagCheckComplete ( const char *  key)
void KviLagMeter::lagCheckRegister ( const char *  key,
unsigned int  uReliability = 50 
)
unsigned int KviLagMeter::secondsSinceLastCompleted ( )
void KviLagMeter::timerEvent ( QTimerEvent *  e)
protectedvirtual

Friends And Related Function Documentation

friend class KviIrcConnection
friend

Member Data Documentation

bool KviLagMeter::m_bOnAlarm
protected

Referenced by KviLagMeter(), and timerEvent().

KviPointerList<KviLagCheck>* KviLagMeter::m_pCheckList
protected
KviIrcConnection* KviLagMeter::m_pConnection
protected
bool* KviLagMeter::m_pDeletionSignal
protected
long KviLagMeter::m_tFirstOwnCheck
protected
long KviLagMeter::m_tLastCompleted
protected
long KviLagMeter::m_tLastOwnCheck
protected
unsigned int KviLagMeter::m_uLag
protected
unsigned int KviLagMeter::m_uLastEmittedLag
protected

Referenced by KviLagMeter(), and timerEvent().

unsigned int KviLagMeter::m_uLastReliability
protected

The documentation for this class was generated from the following files: