diff vamp-client/PluginClient.h @ 94:a660dca988f8

More renaming
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 13 Oct 2016 14:10:55 +0100
parents
children 427c4c725085
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vamp-client/PluginClient.h	Thu Oct 13 14:10:55 2016 +0100
@@ -0,0 +1,39 @@
+
+#ifndef PIPER_PLUGIN_CLIENT_H
+#define PIPER_PLUGIN_CLIENT_H
+
+#include <vamp-hostsdk/PluginConfiguration.h>
+
+namespace piper {
+namespace vampclient {
+
+class PluginStub;
+
+class PluginClient
+{
+public:
+    virtual
+    Vamp::Plugin::OutputList
+    configure(PluginStub *plugin,
+              Vamp::HostExt::PluginConfiguration config) = 0;
+    
+    virtual
+    Vamp::Plugin::FeatureSet
+    process(PluginStub *plugin,
+            std::vector<std::vector<float> > inputBuffers,
+            Vamp::RealTime timestamp) = 0;
+
+    virtual
+    Vamp::Plugin::FeatureSet
+    finish(PluginStub *plugin) = 0;
+
+    virtual
+    void
+    reset(PluginStub *plugin,
+          Vamp::HostExt::PluginConfiguration config) = 0;
+};
+
+}
+}
+
+#endif