KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
KviKvsTimerManager Class Reference

#include <KviKvsTimerManager.h>

+ Inheritance diagram for KviKvsTimerManager:

Public Member Functions

bool addTimer (const QString &szName, KviKvsTimer::Lifetime l, KviWindow *pWnd, int iDelay, KviKvsScript *pCallback, KviKvsVariantList *pParams)
 
void deleteAllTimers ()
 
bool deleteCurrentTimer ()
 
bool deleteTimer (const QString &szName)
 
bool deleteTimer (int iId)
 
KviPointerHashTable< QString,
KviKvsTimer > * 
timerDict ()
 
bool timerExists (const QString &szName)
 

Static Public Member Functions

static void done ()
 
static void init ()
 
static KviKvsTimerManagerinstance ()
 

Protected Member Functions

 KviKvsTimerManager ()
 
void scheduleKill (KviKvsTimer *t)
 
virtual void timerEvent (QTimerEvent *e)
 
 ~KviKvsTimerManager ()
 

Private Attributes

int m_iAssassinTimer
 
int m_iCurrentTimer
 
KviPointerList< KviKvsTimer > * m_pKilledTimerList
 
KviPointerHashTable< int,
KviKvsTimer > * 
m_pTimerDictById
 
KviPointerHashTable< QString,
KviKvsTimer > * 
m_pTimerDictByName
 

Static Private Attributes

static KviKvsTimerManagerm_pInstance = nullptr
 

Constructor & Destructor Documentation

KviKvsTimerManager::KviKvsTimerManager ( )
protected
KviKvsTimerManager::~KviKvsTimerManager ( )
protected

Member Function Documentation

bool KviKvsTimerManager::addTimer ( const QString &  szName,
KviKvsTimer::Lifetime  l,
KviWindow pWnd,
int  iDelay,
KviKvsScript pCallback,
KviKvsVariantList pParams 
)
void KviKvsTimerManager::deleteAllTimers ( )
bool KviKvsTimerManager::deleteCurrentTimer ( )
bool KviKvsTimerManager::deleteTimer ( const QString &  szName)
bool KviKvsTimerManager::deleteTimer ( int  iId)
void KviKvsTimerManager::done ( )
static

References m_pInstance.

Referenced by KviKvs::done().

void KviKvsTimerManager::init ( )
static

References KviKvsTimerManager().

Referenced by KviKvs::init().

static KviKvsTimerManager* KviKvsTimerManager::instance ( )
inlinestatic
void KviKvsTimerManager::scheduleKill ( KviKvsTimer t)
protected
KviPointerHashTable<QString, KviKvsTimer>* KviKvsTimerManager::timerDict ( )
inline
void KviKvsTimerManager::timerEvent ( QTimerEvent *  e)
protectedvirtual
bool KviKvsTimerManager::timerExists ( const QString &  szName)
inline

Member Data Documentation

int KviKvsTimerManager::m_iAssassinTimer
private
int KviKvsTimerManager::m_iCurrentTimer
private
KviKvsTimerManager * KviKvsTimerManager::m_pInstance = nullptr
staticprivate

Referenced by done().

KviPointerList<KviKvsTimer>* KviKvsTimerManager::m_pKilledTimerList
private
KviPointerHashTable<int, KviKvsTimer>* KviKvsTimerManager::m_pTimerDictById
private
KviPointerHashTable<QString, KviKvsTimer>* KviKvsTimerManager::m_pTimerDictByName
private

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