|
TouchCPLib
1.0.0
A touch-enabled GUI interface based on SDL and libTS. It provides a simple desktop-free UI for your embedded Raspberry projects.
|
#include <MainThreadTaskRunner.h>
Public Member Functions | |
| MainThreadTaskRunner () | |
| ~MainThreadTaskRunner () | |
| void | addTask (Task *task) |
| Adds a new task to the queue. It will be deleted when done. More... | |
| void | runTasks () |
| Run the pending tasks. More... | |
| MainThreadTaskRunner::MainThreadTaskRunner | ( | ) |
| MainThreadTaskRunner::~MainThreadTaskRunner | ( | ) |
| void MainThreadTaskRunner::addTask | ( | Task * | task | ) |
Adds a new task to the queue. It will be deleted when done.
| task | The task to add |
| void MainThreadTaskRunner::runTasks | ( | ) |
Run the pending tasks.