Mercurial > hg > piper-vamp-js
comparison VamPipePluginLibrary.h @ 81:5e6ff69b4209
Make base64/text selectable when serialising process and feature blocks; add base64 version as an output format for vampipe-convert; make VamPipePluginLibrary switch to returning base64 encoding as soon as it is fed any as input
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Thu, 08 Sep 2016 15:27:48 +0100 |
parents | caf75dce15e5 |
children | a313ce2577ea |
comparison
equal
deleted
inserted
replaced
80:8f2cf0e26510 | 81:5e6ff69b4209 |
---|---|
63 } | 63 } |
64 | 64 |
65 private: | 65 private: |
66 std::string requestJsonImpl(std::string req); | 66 std::string requestJsonImpl(std::string req); |
67 | 67 |
68 RequestOrResponse readRequest(std::string req) const; | 68 RequestOrResponse readRequest(std::string req); |
69 std::string writeResponse(const RequestOrResponse &resp) const; | 69 std::string writeResponse(const RequestOrResponse &resp) const; |
70 | 70 |
71 //!!! no type for this in RequestResponse.h in vamp sdk, should there be? | 71 //!!! no type for this in RequestResponse.h in vamp sdk, should there be? |
72 std::vector<Vamp::HostExt::PluginStaticData> listPluginData() const; | 72 std::vector<Vamp::HostExt::PluginStaticData> listPluginData() const; |
73 Vamp::HostExt::LoadResponse loadPlugin(Vamp::HostExt::LoadRequest r) const; | 73 Vamp::HostExt::LoadResponse loadPlugin(Vamp::HostExt::LoadRequest r) const; |
74 Vamp::HostExt::ConfigurationResponse configurePlugin(Vamp::HostExt:: | 74 Vamp::HostExt::ConfigurationResponse configurePlugin(Vamp::HostExt:: |
75 ConfigurationRequest r) const; | 75 ConfigurationRequest r) const; |
76 | 76 |
77 std::map<std::string, VamPipeAdapterBase *> m_adapters; // pluginKey -> adapter | 77 std::map<std::string, VamPipeAdapterBase *> m_adapters; // pluginKey -> adapter |
78 CountingPluginHandleMapper m_mapper; | 78 CountingPluginHandleMapper m_mapper; |
79 bool m_useBase64; | |
79 }; | 80 }; |
80 | 81 |
81 } | 82 } |
82 | 83 |
83 #endif | 84 #endif |