|  | KVIrc
    4.9.2
    DeveloperAPIs | 
#include <KviThread.h>
 Inheritance diagram for KviThread:
 Inheritance diagram for KviThread:| Public Member Functions | |
| void | internalThreadRun_doNotTouchThis () | 
| bool | isRunning () | 
| bool | isStartingUp () | 
| KviThread () | |
| bool | start () | 
| void | wait () | 
| virtual | ~KviThread () | 
| Static Public Member Functions | |
| static void | msleep (unsigned long msec) | 
| static void | sleep (unsigned long sec) | 
| static void | usleep (unsigned long usec) | 
| Protected Member Functions | |
| void | exit () | 
| void | postEvent (QObject *o, QEvent *e) | 
| virtual void | run () | 
| Private Member Functions | |
| void | setRunning (bool bRunning) | 
| void | setStartingUp (bool bStartingUp) | 
| Private Attributes | |
| bool | m_bRunning | 
| bool | m_bStartingUp | 
| KviPointerList< QEvent > * | m_pLocalEventQueue | 
| KviMutex * | m_pRunningMutex | 
| kvi_thread_t | m_thread | 
| KviThread::KviThread | ( | ) | 
References m_pRunningMutex, KviThreadManager::registerSlaveThread(), setRunning(), and setStartingUp().
| 
 | virtual | 
References m_pRunningMutex, KviThreadManager::unregisterSlaveThread(), and wait().
| 
 | protected | 
References setRunning().
| void KviThread::internalThreadRun_doNotTouchThis | ( | ) | 
References kvi_threadInitialize(), run(), setRunning(), and setStartingUp().
| bool KviThread::isRunning | ( | ) | 
References KviMutex::lock(), m_bRunning, m_pRunningMutex, and KviMutex::unlock().
Referenced by start(), startIdentService(), and wait().
| bool KviThread::isStartingUp | ( | ) | 
References KviMutex::lock(), m_bStartingUp, m_pRunningMutex, and KviMutex::unlock().
Referenced by start(), startIdentService(), and wait().
| 
 | static | 
References usleep().
Referenced by DccChatThread::run(), KviIdentDaemon::run(), DccSendThread::run(), DccRecvThread::run(), and KviIrcContext::terminateConnectionRequest().
| 
 | protected | 
References KviThreadManager::postSlaveEvent().
Referenced by DccChatThread::handleIncomingData(), DccVideoThread::handleIncomingData(), DccThread::postErrorEvent(), KviIdentDaemon::postMessage(), DccThread::postMessageEvent(), DccRecvThread::postMessageEvent(), KviSoundThread::run(), KviIdentDaemon::run(), DccSendThread::run(), DccRecvThread::run(), DccVideoThread::startPlaying(), DccVoiceThread::startPlaying(), DccVideoThread::startRecording(), DccVoiceThread::startRecording(), DccVideoThread::stopPlaying(), DccVoiceThread::stopPlaying(), DccVideoThread::stopRecording(), DccVoiceThread::stopRecording(), and DccVideoThread::videoStep().
| 
 | inlineprotectedvirtual | 
Reimplemented in DccRecvThread, DccVideoThread, DccVoiceThread, DccSendThread, KviIdentDaemon, DccChatThread, and KviSoundThread.
Referenced by internalThreadRun_doNotTouchThis().
| 
 | private | 
References KviMutex::lock(), m_bRunning, m_pRunningMutex, and KviMutex::unlock().
Referenced by exit(), internalThreadRun_doNotTouchThis(), and KviThread().
| 
 | private | 
References KviMutex::lock(), m_bStartingUp, m_pRunningMutex, and KviMutex::unlock().
Referenced by internalThreadRun_doNotTouchThis(), KviThread(), and start().
| 
 | static | 
| bool KviThread::start | ( | ) | 
References internal_start_thread(), isRunning(), isStartingUp(), m_thread, and setStartingUp().
Referenced by DccChatWindow::connected(), DccVoiceWindow::connected(), DccFileTransfer::connected(), and startIdentService().
| 
 | static | 
References s.
Referenced by msleep(), DccVideoThread::run(), and wait().
| void KviThread::wait | ( | ) | 
References isRunning(), isStartingUp(), KviThreadManager::threadEnteredWaitState(), KviThreadManager::threadLeftWaitState(), and usleep().
Referenced by KviSensitiveThread::terminate(), and ~KviThread().
| 
 | private | 
Referenced by isRunning(), and setRunning().
| 
 | private | 
Referenced by isStartingUp(), and setStartingUp().
| 
 | private | 
| 
 | private | 
Referenced by isRunning(), isStartingUp(), KviThread(), setRunning(), setStartingUp(), and ~KviThread().
| 
 | private | 
Referenced by start().
 1.8.7
 1.8.7