TracktionEngine
Loading...
Searching...
No Matches
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...

#include <tracktion_PluginComponent.h>

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

Plugin & plugin

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()

engine::PluginComponent::PluginComponent ( Plugin & p)

References plugin.

Referenced by getComponentFor().

◆ ~PluginComponent()

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

Member Function Documentation

◆ updateColour()

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

◆ getComponentFor()

PluginComponent * engine::PluginComponent::getComponentFor ( const Plugin & p)
staticnoexcept

References PluginComponent().

◆ getComponentsFor()

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

Member Data Documentation

◆ plugin

Plugin& engine::PluginComponent::plugin

Referenced by PluginComponent().


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