FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
Task runner using the global instance of QThreadPool. More...
#include <runner_qthreadpool.h>
Public Member Functions | |
Runner (const Manager *mgr, int priority=0) | |
void | run () override |
bool | isAbortRequested () override |
void | requestAbort () override |
void | launch () override |
![]() | |
virtual | ~BaseRunner () |
quint64 | taskId () const |
const QString & | taskTitle () const |
void | setTaskTitle (const QString &title) |
Progress & | progress () |
const Progress & | progress () const |
void | run (std::function< void()> &&func) |
Additional Inherited Members | |
![]() | |
BaseRunner (const Manager *mgr) | |
BaseRunnerSignals * | qtSignals () |
void | execRunnableFunc () |
virtual void | destroy () |
Task runner using the global instance of QThreadPool.
Internally using QThreadPool::globalInstance()->start(...)
|
inline |
priority | Same meaning as the second parameter of QThreadPool::start(QRunnable*, int priority) |
|
inlineoverridevirtual |
Reimplemented from qttask::BaseRunner.
|
inlineoverridevirtual |
Reimplemented from qttask::BaseRunner.
|
inlineoverridevirtual |
Reimplemented from qttask::BaseRunner.
|
inlineoverride |