c@78: c@78: #include "stub.h" c@78: c@80: #include "vamp-capnp/VampnProto.h" c@80: c@80: #include "vamp-support/AssignedPluginHandleMapper.h" c@80: c@80: namespace piper { c@80: c@80: class PiperClient : public PiperClientBase c@80: { c@80: public: c@80: c@80: virtual c@80: Vamp::Plugin::OutputList c@80: configure(PiperStubPlugin *plugin, c@80: Vamp::HostExt::PluginConfiguration config) { c@80: c@80: Vamp::HostExt::ConfigurationRequest request; c@80: request.plugin = plugin; c@80: request.configuration = config; c@80: c@80: ::capnp::MallocMessageBuilder message; c@80: RpcRequest::Builder builder = message.initRoot(); c@80: c@80: VampnProto::buildRpcRequest_Configure(builder, request, m_mapper); c@80: c@80: //!!! now what? c@80: } c@80: c@80: c@80: virtual c@80: Vamp::Plugin::FeatureSet c@80: process(PiperStubPlugin *plugin, c@80: const float *const *inputBuffers, c@80: Vamp::RealTime timestamp) = 0; c@80: c@80: virtual Vamp::Plugin::FeatureSet c@80: finish(PiperStubPlugin *plugin) = 0; c@80: c@80: private: c@80: AssignedPluginHandleMapper m_mapper; c@80: }; c@80: c@80: } c@80: