This is a helper class that allows a thread to call a function from the main thread.
More...
#include <ThreadedSlotsClass.h>
This is a helper class that allows a thread to call a function from the main thread.
Definition at line 13 of file ThreadedSlotsClass.h.
◆ ThreadedSlotsClass()
| ThreadedSlotsClass::ThreadedSlotsClass |
( |
| ) |
|
|
protected |
◆ ~ThreadedSlotsClass()
| virtual ThreadedSlotsClass::~ThreadedSlotsClass |
( |
| ) |
|
|
protectedvirtual |
◆ callFun()
| void ThreadedSlotsClass::callFun |
( |
std::function< void(void)> && |
fun | ) |
|
|
protected |
◆ callFunMain
| void ThreadedSlotsClass::callFunMain |
( |
| ) |
|
|
privateslot |
◆ update()
| void ThreadedSlotsClass::update |
( |
| ) |
|
|
protected |
◆ d_callAction
| QAction* ThreadedSlotsClass::d_callAction |
|
private |
◆ d_fun
| std::function<void( void )> ThreadedSlotsClass::d_fun |
|
private |
◆ d_id
| std::thread::id ThreadedSlotsClass::d_id |
|
private |
◆ d_mutex
| std::mutex ThreadedSlotsClass::d_mutex |
|
private |
◆ d_running
| volatile bool ThreadedSlotsClass::d_running |
|
private |
The documentation for this class was generated from the following file: