FeatureExtractionPluginFactory Class Referenceabstract

#include <FeatureExtractionPluginFactory.h>

Inheritance diagram for FeatureExtractionPluginFactory:
Inheritance graph

Public Member Functions

virtual ~FeatureExtractionPluginFactory ()
 
virtual std::vector< QString > getPluginIdentifiers (QString &errorMsg)=0
 Return all installed plugin identifiers. More...
 
virtual piper_vamp::PluginStaticData getPluginStaticData (QString ident)=0
 Return static data for the given plugin. More...
 
virtual std::shared_ptr< Vamp::Plugin > instantiatePlugin (QString identifier, sv_samplerate_t inputSampleRate)=0
 Instantiate (load) and return pointer to the plugin with the given identifier, at the given sample rate. 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 FeatureExtractionPluginFactoryinstance ()
 

Detailed Description

Definition at line 29 of file FeatureExtractionPluginFactory.h.

Constructor & Destructor Documentation

virtual FeatureExtractionPluginFactory::~FeatureExtractionPluginFactory ( )
inlinevirtual

Member Function Documentation

virtual std::vector<QString> FeatureExtractionPluginFactory::getPluginIdentifiers ( QString &  errorMsg)
pure virtual

Return all installed plugin identifiers.

Implemented in NativeVampPluginFactory.

Referenced by TransformFactory::populateFeatureExtractionPlugins(), and ~FeatureExtractionPluginFactory().

virtual piper_vamp::PluginStaticData FeatureExtractionPluginFactory::getPluginStaticData ( QString  ident)
pure virtual

Return static data for the given plugin.

Implemented in NativeVampPluginFactory.

Referenced by TransformFactory::populateFeatureExtractionPlugins(), and ~FeatureExtractionPluginFactory().

virtual std::shared_ptr<Vamp::Plugin> FeatureExtractionPluginFactory::instantiatePlugin ( QString  identifier,
sv_samplerate_t  inputSampleRate 
)
pure virtual

Instantiate (load) and return pointer to the plugin with the given identifier, at the given sample rate.

We don't set blockSize or channels on this – they're negotiated and handled via initialize() on the plugin itself after loading.

Implemented in NativeVampPluginFactory.

Referenced by ModelTransformerFactory::getConfigurationForTransform(), FeatureExtractionModelTransformer::initialise(), TransformFactory::instantiateDefaultPluginFor(), and ~FeatureExtractionPluginFactory().

virtual QString FeatureExtractionPluginFactory::getPluginCategory ( QString  identifier)
pure virtual

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

Implemented in NativeVampPluginFactory.

Referenced by TransformFactory::populateFeatureExtractionPlugins(), and ~FeatureExtractionPluginFactory().

virtual QString FeatureExtractionPluginFactory::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 NativeVampPluginFactory.

Referenced by ~FeatureExtractionPluginFactory().


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