11namespace tracktion {
inline namespace engine
27 #if TRACKTION_ENABLE_AUTOMAP && TRACKTION_ENABLE_CONTROL_SURFACES
30 na->paramChanged (¶meter);
39 pendingParam = ¶meter;
47 return pendingParam !=
nullptr;
56 pendingParam =
nullptr;
65 pendingParam =
nullptr;
66 pendingActionId = externalControllerID;
73 return pendingActionId != -1;
80 consumeEvent ? -1 : pendingActionId);
85 return pendingActionId;
The Tracktion Edit class!
bool shouldPlay() const noexcept
Returns true if this Edit should be played back (or false if it was just opened for inspection).
Engine & engine
A reference to the Engine.
ExternalControllerManager & getExternalControllerManager() const
Returns the ExternalControllerManager instance.
MidiLearnState & getMidiLearnState() const
Returns the MidiLearnState instance.
int getPendingActionFunctionId(bool consumeEvent) noexcept
Returns the pending action function waiting to be assigned or a nullptr if none has been.
bool isEventPending() const noexcept
Returns true if there is either a parameter or action waiting to be assigned.
ParameterChangeHandler(Edit &)
Creates a ParameterChangeHandler for a given Edit.
bool isActionFunctionPending() const noexcept
Returns true if there is an action function waiting to be assigned.
AutomatableParameter::Ptr getPendingParam(bool consumeEvent) noexcept
Returns the parameter waiting to be assigned if there is one, otherwise a nullptr.
bool isParameterPending() const noexcept
Returns true if there is an AutomatableParameter waiting to be assigned.
void parameterChanged(AutomatableParameter ¶meter, bool fromAutomation)
Called by parameters when they are changed.
void actionFunctionTriggered(int externalControllerID)
Called by the accelerators when an assignable action is called.
void ignoreUnused(Types &&...) noexcept