TracktionEngine
|
#include <tracktion_AsyncFunctionUtils.h>
Public Member Functions | |
BlockingFunction (std::function< void()> f) | |
![]() | |
MessageThreadCallback ()=default | |
~MessageThreadCallback () override | |
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. | |
tracktion::engine::BlockingFunction::BlockingFunction | ( | std::function< void()> | f | ) |