![]() |
LeechCraft 0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
|
#include "workerthreadbase.h"
Public Member Functions | |
| WorkerThread (QObject *parent=nullptr) | |
| template<typename... Args> | |
| WorkerThread (QObject *parent, const Args &... args) | |
| template<typename Head, typename... Rest, typename = std::enable_if_t< !std::is_base_of<QObject, std::remove_pointer_t<std::decay_t<Head>>>::value >> | |
| WorkerThread (const Head &head, const Rest &... rest) | |
| ~WorkerThread () | |
| void | SetQuitWait (unsigned long wait) |
| template<typename F, typename... Args> | |
| QFuture< std::invoke_result_t< F, WorkerType *, Args... > > | ScheduleImpl (F f, Args &&... args) |
| template<typename F> | |
| QFuture< std::invoke_result_t< F > > | ScheduleImpl (F func) |
| Public Member Functions inherited from LC::Util::WorkerThreadBase | |
| 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 Types | |
| using | W = WorkerType |
Protected Member Functions | |
| void | Initialize () override |
| void | Cleanup () override |
| Protected Member Functions inherited from LC::Util::WorkerThreadBase | |
| void | run () final |
Protected Attributes | |
| std::unique_ptr< WorkerType > | Worker_ |
| std::unique_ptr< detail::InitializerBase< WorkerType > > | Initializer_ |
Additional Inherited Members | |
| Signals inherited from LC::Util::WorkerThreadBase | |
| void | rotateFuncs () |
Definition at line 113 of file workerthreadbase.h.
|
protected |
Definition at line 117 of file workerthreadbase.h.
|
inline |
Definition at line 123 of file workerthreadbase.h.
References Initializer_.
Referenced by WorkerThread().
|
inline |
Definition at line 130 of file workerthreadbase.h.
References Initializer_.
|
inline |
Definition at line 143 of file workerthreadbase.h.
References WorkerThread().
|
inline |
Definition at line 148 of file workerthreadbase.h.
|
inlineoverrideprotectedvirtual |
Implements LC::Util::WorkerThreadBase.
Definition at line 179 of file workerthreadbase.h.
References Worker_.
|
inlineoverrideprotectedvirtual |
Implements LC::Util::WorkerThreadBase.
Definition at line 172 of file workerthreadbase.h.
References Initializer_, and Worker_.
|
inline |
Definition at line 166 of file workerthreadbase.h.
References LC::Util::WorkerThreadBase::ScheduleImpl(), and Worker_.
|
inline |
Definition at line 38 of file workerthreadbase.h.
|
inline |
Definition at line 158 of file workerthreadbase.h.
|
protected |
Definition at line 121 of file workerthreadbase.h.
Referenced by WorkerThread(), WorkerThread(), and Initialize().
|
protected |
Definition at line 119 of file workerthreadbase.h.
Referenced by Cleanup(), Initialize(), and ScheduleImpl().