|
Collage
1.7.0
High-performance C++ library for developing object-oriented distributed applications.
|
A worker thread processing items out of a CommandQueue. More...
#include <worker.h>
Inheritance diagram for co::WorkerThread< Q >:
Collaboration diagram for co::WorkerThread< Q >:Public Member Functions | |
| WorkerThread (const size_t maxSize=ULONG_MAX) | |
| Construct a new worker thread. More... | |
| virtual | ~WorkerThread () |
| Destruct the worker. More... | |
| Q * | getWorkerQueue () |
Protected Member Functions | |
| CO_WORKER_API void | run () override |
| virtual bool | stopRunning () |
| virtual bool | notifyIdle () |
A worker thread processing items out of a CommandQueue.
|
inlineexplicit |
|
inlinevirtual |
|
inline |
Definition at line 50 of file worker.h.
References co::WorkerThread< Q >::run().
Here is the call graph for this function:
|
inlineprotectedvirtual |
|
overrideprotected |
Definition at line 26 of file worker.ipp.
Referenced by co::WorkerThread< Q >::getWorkerQueue().
Here is the caller graph for this function:
|
inlineprotectedvirtual |