|
ADTF Qt5
|
Legacy version namespace for all functionality taken over from ADTF v3.11. More...
Functions | |
| void | schedule_in_gui_thread (std::function< void()> fnFunction) |
| tResult | execute_in_gui_thread (std::function< tResult()> fnFunction, std::chrono::milliseconds tmTimeout=std::chrono::milliseconds{0}) |
Legacy version namespace for all functionality taken over from ADTF v3.11.
| tResult adtf::ui::testing::lucky::execute_in_gui_thread | ( | std::function< tResult()> | fnFunction, |
| std::chrono::milliseconds | tmTimeout = std::chrono::milliseconds{0} ) |
Execute the given function from within the GUI thread and wait until it has finished.
| [in] | fnFunction | The function that should be executed. |
| [in] | tmTimeout | A timeout, 0 => no timeout. |
| ERR_TIMEOUT | The function has not been executed within the specified timeout. |
| tResult | The return value of the function. |
| void adtf::ui::testing::lucky::schedule_in_gui_thread | ( | std::function< void()> | fnFunction | ) |
Schedules the given function to be executed from within the GUI thread some time in the future.
| [in] | fnFunction | The function that should be executed. |