11namespace tracktion {
inline namespace engine
47 juce::String getParameterName()
const override {
return macroName; }
56 virtual void parameterChanged (
float,
bool byAutomation)
override;
73 void hideMacroParametersFromTracks()
const;
79 Track* getTrack()
const;
82 void restorePluginStateFromValueTree (
const juce::ValueTree&)
override {}
Base class for elements that have some kind of automatable parameters.
The Tracktion Edit class!
Base class for elements which can contain macro parameters.
virtual ~MacroParameterElement()=default
Destructor.
MacroParameterList * getMacroParameterList()
If no parameters have been created, this may return nullptr.
MacroParameterList & getMacroParameterListForWriting()
This ensures that the list has been created.
A MacroParameter is an AutomatableParameter which is a collection of Mappings.
Base class for tracks which contain clips and plugins and can be added to Edit[s].
MacroParameter::Ptr getMacroParameterForID(Edit &e, EditItemID pid)
Searched the Edit for a MacroParameter with this ID.
Plugin::Ptr getOwnerPlugin(MacroParameterList *mpl)
If this MacroParameterList belongs to an Plugin, this will return it.
Connects a modifier source to an AutomatableParameter.
Base class for things that can be used to modify parameters.
ID for objects of type EditElement - e.g.
An Assignment between a MacroParameter and an AutomatableParameter.
bool isForModifierSource(const AutomatableParameter::ModifierSource &) const override
Must return true if this assigment is for the given source.