#include <WorkerThread.hpp>
◆ Job
◆ OnEnded
◆ WorkerThread()
CU_API castor::WorkerThread::WorkerThread |
( |
| ) |
|
◆ ~WorkerThread()
CU_API castor::WorkerThread::~WorkerThread |
( |
| ) |
|
|
noexcept |
◆ feed()
CU_API void castor::WorkerThread::feed |
( |
Job | job | ) |
|
Runs the given job.
- Parameters
-
◆ isEnded()
CU_API bool castor::WorkerThread::isEnded |
( |
| ) |
const |
- Returns
true
if the job is ended.
◆ wait()
Waits for the job end for a given time.
- Parameters
-
[in] | timeout | The maximum time to wait. |
- Returns
true
if the task is ended.
◆ onEnded
OnEnded castor::WorkerThread::onEnded |
- Returns
- The signal raised when the worker has ended his job.
The documentation for this class was generated from the following file: