tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tracktion::engine::MessageThreadCallback Class Referenceabstract

Calls a function on the message thread checking a calling thread for an exit signal. More...

#include "tracktion_AsyncFunctionUtils.h"

Inheritance diagram for tracktion::engine::MessageThreadCallback:
juce::AsyncUpdater tracktion::engine::BlockingFunction

Public Member Functions

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.
 
virtual void performAction ()=0
 

Detailed Description

Calls a function on the message thread checking a calling thread for an exit signal.

Definition at line 156 of file tracktion_AsyncFunctionUtils.h.

Constructor & Destructor Documentation

◆ ~MessageThreadCallback()

tracktion::engine::MessageThreadCallback::~MessageThreadCallback ( )
override

Definition at line 160 of file tracktion_AsyncFunctionUtils.h.

Member Function Documentation

◆ hasFinished()

bool tracktion::engine::MessageThreadCallback::hasFinished ( ) const
noexcept

Returns true if the callback has completed.

Definition at line 163 of file tracktion_AsyncFunctionUtils.h.

◆ 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.

Definition at line 168 of file tracktion_AsyncFunctionUtils.h.


The documentation for this class was generated from the following file: