TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ARAPluginFactory Struct Reference

Factory for creating ARA plugin instances. More...

#include <tracktion_ARAPluginFactory.h>

Public Member Functions

ExternalPlugin::Ptr createPlugin (Edit &ed)
 
ExternalPlugin::Ptr createPlugin (Edit &ed, const juce::PluginDescription &desc)
 
ARAInstancecreateInstance (ExternalPlugin &p, ARADocumentControllerRef dcRef)
 
 ~ARAPluginFactory ()
 

Static Public Member Functions

static ARAPluginFactorygetInstance (Engine &engine, const juce::PluginDescription &desc)
 Returns (or creates) the factory for a specific ARA plugin type.
 
static juce::PluginDescription findPreferredDefault (const juce::Array< juce::PluginDescription > &descs)
 Picks the preferred default ARA plugin description for legacy clips.
 
static ARAPluginFactorygetDefaultInstance (Engine &engine)
 Returns the factory for the first/default ARA plugin (backward compat).
 
static void shutdown ()
 

Public Attributes

const ARAFactory * factory = nullptr
 

Detailed Description

Factory for creating ARA plugin instances.

Maintains a registry of per-plugin-type factories, keyed by PluginDescription identifier string.

Constructor & Destructor Documentation

◆ ~ARAPluginFactory()

ARAPluginFactory::~ARAPluginFactory ( )

Member Function Documentation

◆ getInstance()

static ARAPluginFactory & ARAPluginFactory::getInstance ( Engine &  engine,
const juce::PluginDescription &  desc 
)
static

Returns (or creates) the factory for a specific ARA plugin type.

Referenced by getDefaultInstance().

◆ findPreferredDefault()

static juce::PluginDescription ARAPluginFactory::findPreferredDefault ( const juce::Array< juce::PluginDescription > &  descs)
static

Picks the preferred default ARA plugin description for legacy clips.

Prefers Melodyne since legacy clips were always Melodyne.

Referenced by getDefaultInstance().

◆ getDefaultInstance()

static ARAPluginFactory * ARAPluginFactory::getDefaultInstance ( Engine &  engine)
static

Returns the factory for the first/default ARA plugin (backward compat).

References findPreferredDefault(), and getInstance().

◆ shutdown()

static void ARAPluginFactory::shutdown ( )
static

References CRASH_TRACER.

◆ createPlugin() [1/2]

ExternalPlugin::Ptr ARAPluginFactory::createPlugin ( Edit &  ed)

◆ createPlugin() [2/2]

ExternalPlugin::Ptr ARAPluginFactory::createPlugin ( Edit &  ed,
const juce::PluginDescription &  desc 
)

◆ createInstance()

ARAInstance * ARAPluginFactory::createInstance ( ExternalPlugin &  p,
ARADocumentControllerRef  dcRef 
)

References factory.

Member Data Documentation

◆ factory

const ARAFactory* ARAPluginFactory::factory = nullptr

Referenced by createInstance().


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