diff vamp-client/CapnpRRClient.h @ 209:ac4f5f8ee0e7

Merge branch 'dev/step-and-block-size'
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 09 Feb 2017 14:16:37 +0000
parents ad6025dc0b04
children df65480a08de
line wrap: on
line diff
--- a/vamp-client/CapnpRRClient.h	Thu Feb 09 12:54:00 2017 +0000
+++ b/vamp-client/CapnpRRClient.h	Thu Feb 09 14:16:37 2017 +0000
@@ -66,6 +66,16 @@
  * such as a subprocess pipe arrangement. Only one request can be
  * handled at a time. This class is thread-safe if and only if it is
  * constructed with a thread-safe SynchronousTransport implementation.
+ *
+ * This class takes Vamp-like structures (Plugin and the classes in
+ * vamp-support) and uses them to communicate with a Piper server
+ * using the Cap'n Proto serialisation of the Piper API. The transport
+ * layer (and thus the nature of the server) is defined by the
+ * SynchronousTransport passed to the constructor.
+ *
+ * This class implements both the Loader interface (which constructs
+ * PluginStub objects) and the PluginClient (which accepts PluginStubs
+ * and maps them into Piper handles).
  */
 class CapnpRRClient : public PluginClient,
                       public Loader