TracktionEngine
|
Calls a function on the message thread checking a calling thread for an exit signal. More...
Public Member Functions | |
MessageThreadCallback ()=default | |
~MessageThreadCallback () override | |
bool | hasFinished () const noexcept |
Returns true if the callback has completed. More... | |
void | triggerAndWaitForCallback () |
Triggers the callback to happen on the message thread and blocks until it has returned or the thread signals it should exit. More... | |
virtual void | performAction ()=0 |
Calls a function on the message thread checking a calling thread for an exit signal.
|
default |
|
override |
|
noexcept |
Returns true if the callback has completed.
Referenced by triggerAndWaitForCallback().
void tracktion::engine::MessageThreadCallback::triggerAndWaitForCallback | ( | ) |
Triggers the callback to happen on the message thread and blocks until it has returned or the thread signals it should exit.
References hasFinished().
|
pure virtual |