comparison plugin/PiperVampPluginFactory.h @ 1240:42a4b058f8ba 3.0-integration

Support for multiple servers
author Chris Cannam
date Tue, 01 Nov 2016 12:09:05 +0000
parents 5d886b7b4029
children 75aefcc9f07d
comparison
equal deleted inserted replaced
1239:5261a7791f1c 1240:42a4b058f8ba
47 47
48 virtual QString getPluginCategory(QString identifier) override; 48 virtual QString getPluginCategory(QString identifier) override;
49 49
50 protected: 50 protected:
51 QMutex m_mutex; 51 QMutex m_mutex;
52 std::string m_serverName; 52 QStringList m_servers; // executable file paths
53 std::map<QString, QString> m_origins; // plugin identifier -> server path
53 std::map<QString, piper_vamp::PluginStaticData> m_pluginData; // identifier -> data 54 std::map<QString, piper_vamp::PluginStaticData> m_pluginData; // identifier -> data
54 std::map<QString, QString> m_taxonomy; // identifier -> category string 55 std::map<QString, QString> m_taxonomy; // identifier -> category string
56
55 void populate(QString &errorMessage); 57 void populate(QString &errorMessage);
58 void populateFrom(QString server, QString &errorMessage);
59
60 static QStringList getServerSuffixes();
56 }; 61 };
57 62
58 #endif 63 #endif