|
TracktionEngine
|
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) |
| ARAInstance * | createInstance (ExternalPlugin &p, ARADocumentControllerRef dcRef, ARAPlugInInstanceRoleFlags roles=allInstanceRoles) |
| ~ARAPluginFactory () | |
Static Public Member Functions | |
| static ARAPluginFactory & | getInstance (Engine &engine, const juce::PluginDescription &desc) |
| Returns (or creates) the factory for a specific ARA plugin type. | |
| static ARAPluginFactory * | getExistingInstance (const juce::PluginDescription &desc) |
| Returns the factory for a plugin type if one has already been created, without creating one. | |
| static juce::PluginDescription | findPreferredDefault (const juce::Array< juce::PluginDescription > &descs) |
| Picks the preferred default ARA plugin description for legacy clips. | |
| static ARAPluginFactory * | getDefaultInstance (Engine &engine) |
| Returns the factory for the first/default ARA plugin (backward compat). | |
| static void | shutdown () |
| static std::map< juce::String, juce::ARAFactoryResult > & | getLookupCache () |
| Factories loaded for archive-ID lookups, kept for the session so their modules aren't torn down (bundleExit) while plugin background threads may be running. | |
Public Attributes | |
| const ARAFactory * | factory = nullptr |
Static Public Attributes | |
| static constexpr ARAPlugInInstanceRoleFlags | allInstanceRoles |
| The full role set used for clip player instances, which render playback audio as well as hosting the editor. | |
Factory for creating ARA plugin instances.
Maintains a registry of per-plugin-type factories, keyed by PluginDescription identifier string.
| ARAPluginFactory::~ARAPluginFactory | ( | ) |
|
static |
Returns (or creates) the factory for a specific ARA plugin type.
Referenced by getDefaultInstance().
|
static |
Returns the factory for a plugin type if one has already been created, without creating one.
|
static |
Picks the preferred default ARA plugin description for legacy clips.
Prefers Melodyne since legacy clips were always Melodyne.
Referenced by getDefaultInstance().
|
static |
Returns the factory for the first/default ARA plugin (backward compat).
References findPreferredDefault(), and getInstance().
|
static |
References CRASH_TRACER, and getLookupCache().
|
static |
Factories loaded for archive-ID lookups, kept for the session so their modules aren't torn down (bundleExit) while plugin background threads may be running.
Keyed by plugin identifier string.
Referenced by shutdown().
| ExternalPlugin::Ptr ARAPluginFactory::createPlugin | ( | Edit & | ed | ) |
References createPlugin(), and factory.
Referenced by createPlugin().
| ExternalPlugin::Ptr ARAPluginFactory::createPlugin | ( | Edit & | ed, |
| const juce::PluginDescription & | desc | ||
| ) |
| ARAInstance * ARAPluginFactory::createInstance | ( | ExternalPlugin & | p, |
| ARADocumentControllerRef | dcRef, | ||
| ARAPlugInInstanceRoleFlags | roles = allInstanceRoles |
||
| ) |
References factory.
|
staticconstexpr |
The full role set used for clip player instances, which render playback audio as well as hosting the editor.
| const ARAFactory* ARAPluginFactory::factory = nullptr |
Referenced by createInstance(), and createPlugin().