comparison vamp-client/PiperClient.h @ 90:6429a99abcad

Split out classes
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 13 Oct 2016 10:17:59 +0100
parents
children c897c9a8daf1
comparison
equal deleted inserted replaced
89:03ed2e0a6c8f 90:6429a99abcad
1
2 #ifndef PIPER_CLIENT_H
3 #define PIPER_CLIENT_H
4
5 #include <vamp-hostsdk/PluginConfiguration.h>
6
7 namespace piper { //!!! change
8
9 class PiperStubPlugin;
10
11 class PiperStubPluginClientInterface
12 {
13 friend class PiperStubPlugin;
14
15 protected:
16 virtual
17 Vamp::Plugin::OutputList
18 configure(PiperStubPlugin *plugin,
19 Vamp::HostExt::PluginConfiguration config) = 0;
20
21 virtual
22 Vamp::Plugin::FeatureSet
23 process(PiperStubPlugin *plugin,
24 std::vector<std::vector<float> > inputBuffers,
25 Vamp::RealTime timestamp) = 0;
26
27 virtual Vamp::Plugin::FeatureSet
28 finish(PiperStubPlugin *plugin) = 0;
29 };
30
31 }
32
33 #endif