comparison plugin/FeatureExtractionPluginFactory.h @ 0:da6937383da8

initial import
author Chris Cannam
date Tue, 10 Jan 2006 16:33:16 +0000
parents
children d86891498eef
comparison
equal deleted inserted replaced
-1:000000000000 0:da6937383da8
1 /* -*- c-basic-offset: 4 -*- vi:set ts=8 sts=4 sw=4: */
2
3 /*
4 A waveform viewer and audio annotation editor.
5 Chris Cannam, Queen Mary University of London, 2005
6
7 This is experimental software. Not for distribution.
8 */
9
10 #ifndef _FEATURE_EXTRACTION_PLUGIN_FACTORY_H_
11 #define _FEATURE_EXTRACTION_PLUGIN_FACTORY_H_
12
13 #include <QString>
14 #include <vector>
15
16 class FeatureExtractionPlugin;
17
18 class FeatureExtractionPluginFactory
19 {
20 public:
21 static FeatureExtractionPluginFactory *instance(QString pluginType);
22 static FeatureExtractionPluginFactory *instanceFor(QString identifier);
23 static std::vector<QString> getAllPluginIdentifiers();
24
25 std::vector<QString> getPluginIdentifiers();
26
27 // We don't set blockSize or channels on this -- they're
28 // negotiated and handled via initialize() on the plugin
29 virtual FeatureExtractionPlugin *instantiatePlugin(QString identifier,
30 float inputSampleRate);
31
32 protected:
33 };
34
35 #endif