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

#include <KviThread.h>

+ 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
 
KviMutexm_pRunningMutex
 
kvi_thread_t m_thread
 

Constructor & Destructor Documentation

KviThread::KviThread ( )
KviThread::~KviThread ( )
virtual

Member Function Documentation

void KviThread::exit ( )
protected

References setRunning().

void KviThread::internalThreadRun_doNotTouchThis ( )
bool KviThread::isRunning ( )
bool KviThread::isStartingUp ( )
void KviThread::msleep ( unsigned long  msec)
static
void KviThread::postEvent ( QObject *  o,
QEvent *  e 
)
protected
virtual void KviThread::run ( )
inlineprotectedvirtual
void KviThread::setRunning ( bool  bRunning)
private
void KviThread::setStartingUp ( bool  bStartingUp)
private
void KviThread::sleep ( unsigned long  sec)
static
bool KviThread::start ( )
void KviThread::usleep ( unsigned long  usec)
static

References s.

Referenced by msleep(), DccVideoThread::run(), and wait().

void KviThread::wait ( )

Member Data Documentation

bool KviThread::m_bRunning
private

Referenced by isRunning(), and setRunning().

bool KviThread::m_bStartingUp
private

Referenced by isStartingUp(), and setStartingUp().

KviPointerList<QEvent>* KviThread::m_pLocalEventQueue
private
KviMutex* KviThread::m_pRunningMutex
private
kvi_thread_t KviThread::m_thread
private

Referenced by start().


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