![]() |
LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
|
#include "workerthreadbase.h"
Signals | |
void | rotateFuncs () |
Public Member Functions | |
void | SetPaused (bool) |
template<typename F> | |
QFuture< std::invoke_result_t< F > > | ScheduleImpl (F func) |
template<typename F, typename... Args> | |
QFuture< std::invoke_result_t< F, Args... > > | ScheduleImpl (F f, Args &&... args) |
virtual size_t | GetQueueSize () |
Protected Member Functions | |
void | run () final |
virtual void | Initialize ()=0 |
virtual void | Cleanup ()=0 |
Definition at line 24 of file workerthreadbase.h.
|
protectedpure virtual |
Implemented in LC::Util::WorkerThread< WorkerType >.
References Cleanup().
Referenced by Cleanup(), and run().
|
virtual |
Definition at line 24 of file workerthreadbase.cpp.
|
protectedpure virtual |
Implemented in LC::Util::WorkerThread< WorkerType >.
References Initialize().
Referenced by Initialize(), and run().
|
signal |
References rotateFuncs().
Referenced by rotateFuncs(), run(), ScheduleImpl(), and SetPaused().
|
finalprotected |
Definition at line 30 of file workerthreadbase.cpp.
References Cleanup(), Initialize(), and rotateFuncs().
|
inline |
Definition at line 59 of file workerthreadbase.h.
References ScheduleImpl().
|
inline |
Definition at line 38 of file workerthreadbase.h.
References rotateFuncs().
Referenced by LC::Util::WorkerThread< WorkerType >::ScheduleImpl(), and ScheduleImpl().
void LC::Util::WorkerThreadBase::SetPaused | ( | bool | paused | ) |
Definition at line 14 of file workerthreadbase.cpp.
References rotateFuncs().