#include <WorkQueueLoopThread.h>
Public Types | |
| typedef std::function< bool(TWorkItem &)> | processWorkItemFunc |
Public Member Functions | |
| WorkQueueLoopThread () | |
| WorkQueueLoopThread (processWorkItemFunc processWorkItemProc) | |
| void | addWorkItem (TWorkItem &&workItem) |
| void | startProcessing () |
| void | stopProcessing () |
Protected Member Functions | |
| void | processWorkItemsLoop () |
| virtual bool | processWorkItem (TWorkItem &workItem) |
Definition at line 16 of file WorkQueueLoopThread.h.
| typedef std::function<bool(TWorkItem&)> Utils::WorkQueueLoopThread< TWorkItem >::processWorkItemFunc |
Definition at line 19 of file WorkQueueLoopThread.h.
|
inline |
Definition at line 53 of file WorkQueueLoopThread.h.
|
explicit |
| void Utils::WorkQueueLoopThread< TWorkItem >::addWorkItem | ( | TWorkItem && | workItem | ) |
Definition at line 74 of file WorkQueueLoopThread.h.
|
protectedvirtual |
Definition at line 45 of file WorkQueueLoopThread.h.
|
protected |
Definition at line 86 of file WorkQueueLoopThread.h.
| void Utils::WorkQueueLoopThread< TWorkItem >::startProcessing | ( | ) |
| void Utils::WorkQueueLoopThread< TWorkItem >::stopProcessing | ( | ) |
Definition at line 132 of file WorkQueueLoopThread.h.