Mercurial > hg > svcore
diff plugin/PiperVampPluginFactory.h @ 1246:75aefcc9f07d piper
Use plugin scan results to inform the list requests issued to Piper servers
author | Chris Cannam |
---|---|
date | Thu, 03 Nov 2016 14:14:09 +0000 |
parents | 42a4b058f8ba |
children | d45a16c232bd |
line wrap: on
line diff
--- a/plugin/PiperVampPluginFactory.h Tue Nov 01 16:02:15 2016 +0000 +++ b/plugin/PiperVampPluginFactory.h Thu Nov 03 14:14:09 2016 +0000 @@ -23,6 +23,7 @@ #include <map> #include "base/Debug.h" +#include "base/HelperExecPath.h" /** * FeatureExtractionPluginFactory type for Vamp plugins hosted in a @@ -49,15 +50,13 @@ protected: QMutex m_mutex; - QStringList m_servers; // executable file paths + QList<HelperExecPath::HelperExec> m_servers; // executable file paths std::map<QString, QString> m_origins; // plugin identifier -> server path std::map<QString, piper_vamp::PluginStaticData> m_pluginData; // identifier -> data std::map<QString, QString> m_taxonomy; // identifier -> category string void populate(QString &errorMessage); - void populateFrom(QString server, QString &errorMessage); - - static QStringList getServerSuffixes(); + void populateFrom(const HelperExecPath::HelperExec &, QString &errorMessage); }; #endif