#include <RealTimePluginFactory.h>

Inheritance diagram for RealTimePluginFactory:
Inheritance graph

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< RealTimePluginInstanceinstantiatePlugin (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 RealTimePluginFactoryinstance (QString pluginType)
 
static RealTimePluginFactoryinstanceFor (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

RealTimePluginFactory::~RealTimePluginFactory ( )
virtual

Definition at line 38 of file RealTimePluginFactory.cpp.

RealTimePluginFactory::RealTimePluginFactory ( )
inlineprotected

Definition at line 110 of file RealTimePluginFactory.h.

Member Function Documentation

std::vector< QString > RealTimePluginFactory::getAllPluginIdentifiers ( )
static
void RealTimePluginFactory::enumerateAllPlugins ( std::vector< QString > &  list)
static

Definition at line 110 of file RealTimePluginFactory.cpp.

References enumeratePlugins(), instance(), and RestoreStartupLocale().

static void RealTimePluginFactory::setSampleRate ( sv_samplerate_t  sampleRate)
inlinestatic

Definition at line 60 of file RealTimePluginFactory.h.

virtual void RealTimePluginFactory::discoverPlugins ( )
pure virtual

Look up the plugin path and find the plugins in it.

Called automatically after construction of a factory.

Implemented in LADSPAPluginFactory.

virtual const std::vector<QString>& RealTimePluginFactory::getPluginIdentifiers ( ) const
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().

virtual void RealTimePluginFactory::enumeratePlugins ( std::vector< QString > &  list)
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().

virtual RealTimePluginDescriptor RealTimePluginFactory::getPluginDescriptor ( QString  identifier) const
pure virtual

Get some basic information about a plugin (rapidly).

Implemented in LADSPAPluginFactory.

Referenced by TransformFactory::populateRealTimePlugins().

virtual std::shared_ptr<RealTimePluginInstance> RealTimePluginFactory::instantiatePlugin ( QString  identifier,
int  clientId,
int  position,
sv_samplerate_t  sampleRate,
int  blockSize,
int  channels 
)
pure virtual
virtual QString RealTimePluginFactory::getPluginCategory ( QString  identifier)
pure virtual

Get category metadata about a plugin (without instantiating it).

Implemented in LADSPAPluginFactory.

Referenced by TransformFactory::populateRealTimePlugins().

virtual QString RealTimePluginFactory::getPluginLibraryPath ( QString  identifier)
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

sv_samplerate_t RealTimePluginFactory::m_sampleRate = 48000
staticprotected

The documentation for this class was generated from the following files: