svcore
1.9
|
#include <RealTimePluginFactory.h>
Public Member Functions | |
virtual | ~RealTimePluginFactory () |
virtual void | discoverPlugins ()=0 |
Look up the plugin path and find the plugins in it. More... | |
virtual const std::vector< QString > & | getPluginIdentifiers () const =0 |
Return a reference to a list of all plugin identifiers that can be created by this factory. More... | |
virtual void | enumeratePlugins (std::vector< QString > &list)=0 |
Append to the given list descriptions of all the available plugins and their ports. More... | |
virtual RealTimePluginDescriptor | getPluginDescriptor (QString identifier) const =0 |
Get some basic information about a plugin (rapidly). More... | |
virtual std::shared_ptr< RealTimePluginInstance > | instantiatePlugin (QString identifier, int clientId, int position, sv_samplerate_t sampleRate, int blockSize, int channels)=0 |
Instantiate a plugin. More... | |
virtual QString | getPluginCategory (QString identifier)=0 |
Get category metadata about a plugin (without instantiating it). More... | |
virtual QString | getPluginLibraryPath (QString identifier)=0 |
Get the full file path (including both directory and filename) of the library file that provides a given plugin identifier. More... | |
Static Public Member Functions | |
static RealTimePluginFactory * | instance (QString pluginType) |
static RealTimePluginFactory * | instanceFor (QString identifier) |
static std::vector< QString > | getAllPluginIdentifiers () |
static void | enumerateAllPlugins (std::vector< QString > &) |
static void | setSampleRate (sv_samplerate_t sampleRate) |
Protected Member Functions | |
RealTimePluginFactory () | |
Static Protected Attributes | |
static sv_samplerate_t | m_sampleRate = 48000 |
Detailed Description
Definition at line 50 of file RealTimePluginFactory.h.
Constructor & Destructor Documentation
|
virtual |
Definition at line 38 of file RealTimePluginFactory.cpp.
|
inlineprotected |
Definition at line 110 of file RealTimePluginFactory.h.
Member Function Documentation
|
static |
Definition at line 43 of file RealTimePluginFactory.cpp.
References _dssiInstance, _ladspaInstance, and LADSPAPluginFactory::discoverPlugins().
Referenced by enumerateAllPlugins(), getAllPluginIdentifiers(), instanceFor(), DSSIPluginFactory::instantiatePlugin(), LADSPAPluginFactory::instantiatePlugin(), DSSIPluginInstance::requestNonRTThread(), and DSSIPluginInstance::runGrouped().
|
static |
Definition at line 65 of file RealTimePluginFactory.cpp.
References instance(), and PluginIdentifier::parseIdentifier().
Referenced by ModelTransformerFactory::createTransformer(), ModelTransformerFactory::getConfigurationForTransform(), TransformFactory::getTransformChannelRange(), Transform::getType(), TransformFactory::instantiateDefaultPluginFor(), TransformFactory::populateRealTimePlugins(), and RealTimeEffectModelTransformer::RealTimeEffectModelTransformer().
|
static |
Definition at line 73 of file RealTimePluginFactory.cpp.
References getPluginIdentifiers(), instance(), and RestoreStartupLocale().
Referenced by TransformFactory::populateRealTimePlugins().
|
static |
Definition at line 110 of file RealTimePluginFactory.cpp.
References enumeratePlugins(), instance(), and RestoreStartupLocale().
|
inlinestatic |
Definition at line 60 of file RealTimePluginFactory.h.
|
pure virtual |
Look up the plugin path and find the plugins in it.
Called automatically after construction of a factory.
Implemented in LADSPAPluginFactory.
|
pure virtual |
Return a reference to a list of all plugin identifiers that can be created by this factory.
Implemented in LADSPAPluginFactory.
Referenced by getAllPluginIdentifiers().
|
pure virtual |
Append to the given list descriptions of all the available plugins and their ports.
This is in a standard format, see the LADSPA implementation for details.
Implemented in LADSPAPluginFactory, and DSSIPluginFactory.
Referenced by enumerateAllPlugins().
|
pure virtual |
Get some basic information about a plugin (rapidly).
Implemented in LADSPAPluginFactory.
Referenced by TransformFactory::populateRealTimePlugins().
|
pure virtual |
Instantiate a plugin.
Implemented in LADSPAPluginFactory, and DSSIPluginFactory.
Referenced by ModelTransformerFactory::getConfigurationForTransform(), TransformFactory::instantiateDefaultPluginFor(), and RealTimeEffectModelTransformer::RealTimeEffectModelTransformer().
|
pure virtual |
Get category metadata about a plugin (without instantiating it).
Implemented in LADSPAPluginFactory.
Referenced by TransformFactory::populateRealTimePlugins().
|
pure virtual |
Get the full file path (including both directory and filename) of the library file that provides a given plugin identifier.
Note getPluginIdentifiers() must have been called before this has access to the necessary information.
Implemented in LADSPAPluginFactory.
Member Data Documentation
|
staticprotected |
Definition at line 112 of file RealTimePluginFactory.h.
Referenced by LADSPAPluginFactory::getPortMaximum(), and LADSPAPluginFactory::getPortMinimum().
The documentation for this class was generated from the following files:
Generated by 1.8.11