#include <ThreadManager.h>
Signals | |
| void | finished () |
| void | showFeedback () |
Public Member Functions | |
| void | run (const bool enableMultiThread=true) |
| Run the internal runnable objects. More... | |
| void | stopProccess () |
| ThreadManager (const std::vector< QRunnable * > &threads, int interval=-1) | |
| ~ThreadManager () | |
Protected Slots | |
| void | onThreadFinished () |
Protected Attributes | |
| int | m_interval |
| QThreadPool * | m_pool |
| std::vector< QRunnable * > | m_threads |
| QTimer * | m_timer |
Definition at line 48 of file ThreadManager.h.
| te::qt::widgets::ThreadManager::ThreadManager | ( | const std::vector< QRunnable * > & | threads, |
| int | interval = -1 |
||
| ) |
| te::qt::widgets::ThreadManager::~ThreadManager | ( | ) |
|
signal |
|
protectedslot |
| void te::qt::widgets::ThreadManager::run | ( | const bool | enableMultiThread = true | ) |
Run the internal runnable objects.
| enableMultiThread | If enabled multiple threads will be executed, if false multi-threading is disabled). |
|
signal |
| void te::qt::widgets::ThreadManager::stopProccess | ( | ) |
|
protected |
Definition at line 84 of file ThreadManager.h.
|
protected |
Definition at line 80 of file ThreadManager.h.
|
protected |
Definition at line 78 of file ThreadManager.h.
|
protected |
Definition at line 82 of file ThreadManager.h.