diff 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
line wrap: on
line diff
--- a/VamPipePluginLibrary.h	Wed Sep 07 16:38:24 2016 +0100
+++ b/VamPipePluginLibrary.h	Thu Sep 08 15:27:48 2016 +0100
@@ -65,7 +65,7 @@
 private:
     std::string requestJsonImpl(std::string req);
 
-    RequestOrResponse readRequest(std::string req) const;
+    RequestOrResponse readRequest(std::string req);
     std::string writeResponse(const RequestOrResponse &resp) const;
 
     //!!! no type for this in RequestResponse.h in vamp sdk, should there be?
@@ -76,6 +76,7 @@
 
     std::map<std::string, VamPipeAdapterBase *> m_adapters; // pluginKey -> adapter
     CountingPluginHandleMapper m_mapper;
+    bool m_useBase64;
 };
 
 }