Equalizer  1.4.1
Public Member Functions | Protected Member Functions
co::WorkerThread< Q > Class Template Reference

A worker thread. More...

#include <worker.h>

List of all members.

Public Member Functions

 WorkerThread ()
 Construct a new worker thread.
virtual ~WorkerThread ()
 Destruct the worker.
Q * getWorkerQueue ()

Protected Member Functions

virtual bool init ()
virtual CO_WORKER_API void run ()
virtual bool stopRunning ()
virtual bool notifyIdle ()

Detailed Description

template<class Q>
class co::WorkerThread< Q >

A worker thread.

Definition at line 32 of file worker.h.


Constructor & Destructor Documentation

template<class Q >
co::WorkerThread< Q >::WorkerThread ( ) [inline]

Construct a new worker thread.

Version:
1.1.5

Definition at line 36 of file worker.h.

template<class Q >
virtual co::WorkerThread< Q >::~WorkerThread ( ) [inline, virtual]

Destruct the worker.

Version:
1.1.5

Definition at line 39 of file worker.h.


Member Function Documentation

template<class Q >
Q* co::WorkerThread< Q >::getWorkerQueue ( ) [inline]
Returns:
the queue to the worker thread.
Version:
1.1.5

Definition at line 42 of file worker.h.

template<class Q >
virtual bool co::WorkerThread< Q >::init ( ) [inline, protected, virtual]
See also:
lunchbox::Thread::init()

Definition at line 46 of file worker.h.

template<class Q >
virtual bool co::WorkerThread< Q >::notifyIdle ( ) [inline, protected, virtual]
Returns:
true to indicate pending idle tasks.
Version:
1.1.5

Definition at line 59 of file worker.h.

template<class Q >
void co::WorkerThread< Q >::run ( ) [protected, virtual]
See also:
lunchbox::Thread::run()

Definition at line 25 of file worker.ipp.

References co::ICommand::isValid().

+ Here is the call graph for this function:

template<class Q >
virtual bool co::WorkerThread< Q >::stopRunning ( ) [inline, protected, virtual]
Returns:
true to stop the worker thread.
Version:
1.1.5

Definition at line 56 of file worker.h.


The documentation for this class was generated from the following files:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1