|
RADLib
RADical C++ application framework
|
Abstract UI backend used to post tasks to a toolkit UI thread. More...
#include <RADUi.h>
Inheritance diagram for RADUi::Backend:Public Member Functions | |
| virtual | ~Backend ()=default |
| Destroys the backend through the interface. More... | |
| virtual void | run ()=0 |
| Runs the toolkit event loop. More... | |
| virtual void | quit ()=0 |
| Requests that the toolkit event loop exit. More... | |
| virtual void | postToUi (std::function< void()> task)=0 |
| Posts task for execution on the UI thread. More... | |
| virtual bool | isUiThread () const =0 |
| Returns true when called from the UI thread. More... | |
Abstract UI backend used to post tasks to a toolkit UI thread.
|
virtualdefault |
Destroys the backend through the interface.
|
pure virtual |
Returns true when called from the UI thread.
Implemented in RADUi::Slint::SlintBackend.
|
pure virtual |
Posts task for execution on the UI thread.
Implemented in RADUi::Slint::SlintBackend.
|
pure virtual |
Requests that the toolkit event loop exit.
Implemented in RADUi::Slint::SlintBackend.
|
pure virtual |
Runs the toolkit event loop.
Implemented in RADUi::Slint::SlintBackend.