![]() |
LeechCraft
0.6.70-9312-g4cc613a2df
Modular cross-platform feature rich live environment.
|
#include "workerthreadbase.h"
Inheritance diagram for LeechCraft::Util::WorkerThread< WorkerType >:
Collaboration diagram for LeechCraft::Util::WorkerThread< WorkerType >:Public Member Functions | |
| WorkerThread (QObject *parent=nullptr) | |
| template<typename... Args> | |
| WorkerThread (QObject *parent, const Args &...args) | |
| void | SetAutoQuit (bool autoQuit) |
| template<typename F , typename... Args> | |
| QFuture< std::result_of_t< F(WorkerType *, Args...)> > | ScheduleImpl (F f, Args &&...args) |
Public Member Functions inherited from LeechCraft::Util::WorkerThreadBase | |
| void | SetPaused (bool) |
| template<typename F > | |
| QFuture< std::result_of_t< F()> > | ScheduleImpl (F func) |
| template<typename F , typename... Args> | |
| QFuture< std::result_of_t< F(Args...)> > | ScheduleImpl (F f, Args &&...args) |
| virtual size_t | GetQueueSize () |
Protected Types | |
| using | W = WorkerType |
Protected Member Functions | |
| void | Initialize () override |
| void | Cleanup () override |
Protected Member Functions inherited from LeechCraft::Util::WorkerThreadBase | |
| void | run () overridefinal |
Protected Attributes | |
| std::unique_ptr< WorkerType > | Worker_ |
| std::unique_ptr < detail::InitializerBase < WorkerType > > | Initializer_ |
Additional Inherited Members | |
Signals inherited from LeechCraft::Util::WorkerThreadBase | |
| void | rotateFuncs () |
Definition at line 135 of file workerthreadbase.h.
|
protected |
Definition at line 139 of file workerthreadbase.h.
|
inline |
Definition at line 145 of file workerthreadbase.h.
References LeechCraft::Util::parent.
|
inline |
Definition at line 152 of file workerthreadbase.h.
|
inlineoverrideprotectedvirtual |
Implements LeechCraft::Util::WorkerThreadBase.
Definition at line 204 of file workerthreadbase.h.
References LeechCraft::Util::WorkerThread< WorkerType >::Worker_.
|
inlineoverrideprotectedvirtual |
Implements LeechCraft::Util::WorkerThreadBase.
Definition at line 197 of file workerthreadbase.h.
References LeechCraft::Util::WorkerThread< WorkerType >::Initializer_, and LeechCraft::Util::WorkerThread< WorkerType >::Worker_.
|
inline |
Definition at line 191 of file workerthreadbase.h.
References LeechCraft::Util::Invoke(), LeechCraft::Util::WorkerThreadBase::ScheduleImpl(), and LeechCraft::Util::WorkerThread< WorkerType >::Worker_.
Here is the call graph for this function:
|
inline |
Definition at line 185 of file workerthreadbase.h.
|
protected |
Definition at line 143 of file workerthreadbase.h.
Referenced by LeechCraft::Util::WorkerThread< WorkerType >::Initialize().
|
protected |
Definition at line 141 of file workerthreadbase.h.
Referenced by LeechCraft::Util::WorkerThread< WorkerType >::Cleanup(), LeechCraft::Util::WorkerThread< WorkerType >::Initialize(), and LeechCraft::Util::WorkerThread< WorkerType >::ScheduleImpl().