Mercurial > hg > svcore
comparison plugin/PiperVampPluginFactory.h @ 1227:5d886b7b4029 piper
Error reporting for Piper server startup
author | Chris Cannam |
---|---|
date | Fri, 21 Oct 2016 16:24:30 +0100 |
parents | ba16388b937d |
children | 42a4b058f8ba |
comparison
equal
deleted
inserted
replaced
1226:91ff08313375 | 1227:5d886b7b4029 |
---|---|
33 public: | 33 public: |
34 PiperVampPluginFactory(); | 34 PiperVampPluginFactory(); |
35 | 35 |
36 virtual ~PiperVampPluginFactory() { } | 36 virtual ~PiperVampPluginFactory() { } |
37 | 37 |
38 virtual std::vector<QString> getPluginIdentifiers() override; | 38 virtual std::vector<QString> getPluginIdentifiers(QString &errorMessage) |
39 override; | |
39 | 40 |
40 virtual piper_vamp::PluginStaticData getPluginStaticData(QString identifier) | 41 virtual piper_vamp::PluginStaticData getPluginStaticData(QString identifier) |
41 override; | 42 override; |
42 | 43 |
43 virtual Vamp::Plugin *instantiatePlugin(QString identifier, | 44 virtual Vamp::Plugin *instantiatePlugin(QString identifier, |
49 protected: | 50 protected: |
50 QMutex m_mutex; | 51 QMutex m_mutex; |
51 std::string m_serverName; | 52 std::string m_serverName; |
52 std::map<QString, piper_vamp::PluginStaticData> m_pluginData; // identifier -> data | 53 std::map<QString, piper_vamp::PluginStaticData> m_pluginData; // identifier -> data |
53 std::map<QString, QString> m_taxonomy; // identifier -> category string | 54 std::map<QString, QString> m_taxonomy; // identifier -> category string |
54 void populate(); | 55 void populate(QString &errorMessage); |
55 }; | 56 }; |
56 | 57 |
57 #endif | 58 #endif |