#include <tracktion_AsyncFunctionUtils.h>
|
| | BlockingFunction (std::function< void()> f) |
| |
| | MessageThreadCallback ()=default |
| |
| virtual | ~MessageThreadCallback () |
| | Blocks until any in-flight callback has finished and prevents a pending one from starting, so the message thread can never touch a dangling this.
|
| |
| bool | hasFinished () const noexcept |
| | Returns true if the callback has completed.
|
| |
| void | triggerAndWaitForCallback () |
| | Triggers the callback to happen on the message thread and blocks until it has returned or the thread signals it should exit.
|
| |
◆ BlockingFunction()
| engine::BlockingFunction::BlockingFunction |
( |
std::function< void()> |
f | ) |
|
The documentation for this struct was generated from the following file: