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

#include <KviThread.h>

+ Inheritance diagram for KviThreadManager:

Static Public Member Functions

static void killPendingEvents (QObject *receiver)
 

Protected Member Functions

void killPendingEventsByReceiver (QObject *receiver)
 
 KviThreadManager ()
 
void postSlaveEvent (QObject *o, QEvent *e)
 
void registerSlaveThread (KviThread *t)
 
void threadEnteredWaitState ()
 
void threadLeftWaitState ()
 
void unregisterSlaveThread (KviThread *t)
 
 ~KviThreadManager ()
 

Static Protected Member Functions

static void globalDestroy ()
 
static void globalInit ()
 

Private Slots

void eventsPending (int fd)
 

Private Attributes

int m_fd [2]
 
int m_iTriggerCount
 
int m_iWaitingThreads
 
KviPointerList
< KviThreadPendingEvent > * 
m_pEventQueue
 
KviMutexm_pMutex
 
QSocketNotifier * m_pSn
 
KviPointerList< KviThread > * m_pThreadList
 

Friends

class KviApplication
 
class KviThread
 

Constructor & Destructor Documentation

KviThreadManager::KviThreadManager ( )
protected
KviThreadManager::~KviThreadManager ( )
protected

Member Function Documentation

void KviThreadManager::eventsPending ( int  fd)
privateslot
void KviThreadManager::globalDestroy ( )
staticprotected
void KviThreadManager::globalInit ( )
staticprotected
void KviThreadManager::killPendingEvents ( QObject *  receiver)
static
void KviThreadManager::killPendingEventsByReceiver ( QObject *  receiver)
protected
void KviThreadManager::postSlaveEvent ( QObject *  o,
QEvent *  e 
)
protected
void KviThreadManager::registerSlaveThread ( KviThread t)
protected
void KviThreadManager::threadEnteredWaitState ( )
protected
void KviThreadManager::threadLeftWaitState ( )
protected
void KviThreadManager::unregisterSlaveThread ( KviThread t)
protected

Friends And Related Function Documentation

friend class KviApplication
friend
friend class KviThread
friend

Member Data Documentation

int KviThreadManager::m_fd[2]
private
int KviThreadManager::m_iTriggerCount
private
int KviThreadManager::m_iWaitingThreads
private
KviPointerList<KviThreadPendingEvent>* KviThreadManager::m_pEventQueue
private
KviMutex* KviThreadManager::m_pMutex
private
QSocketNotifier* KviThreadManager::m_pSn
private
KviPointerList<KviThread>* KviThreadManager::m_pThreadList
private

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