TracktionEngine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::PluginComponent Struct Referenceabstract

Components that represent a Plugin should inherit from this to ensure they are correctly notified when their colour changes e.g. More...

Public Member Functions

 PluginComponent (Plugin &p)
 
virtual ~PluginComponent ()
 
virtual void updateColour ()=0
 

Static Public Member Functions

static PluginComponentgetComponentFor (const Plugin &p) noexcept
 
static juce::Array< PluginComponent * > getComponentsFor (const Plugin &p) noexcept
 

Public Attributes

Pluginplugin
 

Detailed Description

Components that represent a Plugin should inherit from this to ensure they are correctly notified when their colour changes e.g.

from a controller bank change.

Constructor & Destructor Documentation

◆ PluginComponent()

tracktion::engine::PluginComponent::PluginComponent ( Plugin p)

◆ ~PluginComponent()

virtual tracktion::engine::PluginComponent::~PluginComponent ( )
virtual

Member Function Documentation

◆ updateColour()

virtual void tracktion::engine::PluginComponent::updateColour ( )
pure virtual

◆ getComponentFor()

static PluginComponent* tracktion::engine::PluginComponent::getComponentFor ( const Plugin p)
staticnoexcept

◆ getComponentsFor()

static juce::Array<PluginComponent*> tracktion::engine::PluginComponent::getComponentsFor ( const Plugin p)
staticnoexcept

Member Data Documentation

◆ plugin

Plugin& tracktion::engine::PluginComponent::plugin

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