CEvent Class Reference

#include <threadpool.h>

List of all members.


Detailed Description

Definition at line 30 of file threadpool.h.


Public Member Functions

 CEvent (bool bInitiallyOwn=FALSE)
virtual ~CEvent ()
bool SetEvent ()
bool ResetEvent ()
bool IsSignaled ()
bool WaitForEvent (unsigned long time=ULONG_MAX)

Private Attributes

QMutex m_mutex
QWaitCondition m_wait
bool m_bSignaled

Constructor & Destructor Documentation

CEvent::CEvent ( bool  bInitiallyOwn = FALSE  ) 

Definition at line 27 of file threadpool.cpp.

CEvent::~CEvent (  )  [virtual]

Definition at line 36 of file threadpool.cpp.


Member Function Documentation

bool CEvent::SetEvent (  ) 

bool CEvent::ResetEvent (  ) 

Definition at line 60 of file threadpool.cpp.

Referenced by WorkerThread::run().

bool CEvent::IsSignaled (  ) 

Definition at line 73 of file threadpool.cpp.

bool CEvent::WaitForEvent ( unsigned long  time = ULONG_MAX  ) 

Definition at line 86 of file threadpool.cpp.

Referenced by WorkerThread::run(), and WorkerThread::WaitForInitialized().


Member Data Documentation

QMutex CEvent::m_mutex [private]

Definition at line 34 of file threadpool.h.

Referenced by IsSignaled(), ResetEvent(), SetEvent(), and WaitForEvent().

QWaitCondition CEvent::m_wait [private]

Definition at line 35 of file threadpool.h.

Referenced by SetEvent(), and WaitForEvent().

Definition at line 36 of file threadpool.h.

Referenced by CEvent(), IsSignaled(), ResetEvent(), SetEvent(), and WaitForEvent().


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

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5