|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Asyncronously call a function. More...
#include "tracktion_AsyncFunctionUtils.h"
Public Member Functions | |
| AsyncCaller ()=default | |
| Creates an empty AsyncCaller. | |
| AsyncCaller (std::function< void()> f) | |
| Creates an AsyncCaller with a given callback function. | |
| ~AsyncCaller () override | |
| Destructor. | |
| void | setFunction (std::function< void()> f) |
| Sets the function to call. | |
| void | handleAsyncUpdate () override |
Public Member Functions inherited from juce::AsyncUpdater | |
| void | triggerAsyncUpdate () |
| void | cancelPendingUpdate () noexcept |
| void | handleUpdateNowIfNeeded () |
| bool | isUpdatePending () const noexcept |
Public Attributes | |
| std::function< void()> | function |
Asyncronously call a function.
Definition at line 17 of file tracktion_AsyncFunctionUtils.h.
| tracktion::engine::AsyncCaller::AsyncCaller | ( | std::function< void()> | f | ) |
Creates an AsyncCaller with a given callback function.
Definition at line 23 of file tracktion_AsyncFunctionUtils.h.
|
override |
Destructor.
Definition at line 29 of file tracktion_AsyncFunctionUtils.h.
|
overridevirtual |
Implements juce::AsyncUpdater.
Definition at line 41 of file tracktion_AsyncFunctionUtils.h.
| void tracktion::engine::AsyncCaller::setFunction | ( | std::function< void()> | f | ) |
Sets the function to call.
Definition at line 35 of file tracktion_AsyncFunctionUtils.h.
| std::function<void()> tracktion::engine::AsyncCaller::function |
Definition at line 47 of file tracktion_AsyncFunctionUtils.h.