diff vamp-hostsdk/RequestResponse.h @ 456:86624d166f88 outputid-string-in-featureset

Introduce ListResponse type as well
author Chris Cannam
date Mon, 19 Sep 2016 14:10:19 +0100
parents 5c07a86abddd
children eb30742e5e43
line wrap: on
line diff
--- a/vamp-hostsdk/RequestResponse.h	Mon Sep 19 13:35:56 2016 +0100
+++ b/vamp-hostsdk/RequestResponse.h	Mon Sep 19 14:10:19 2016 +0100
@@ -54,6 +54,25 @@
 namespace HostExt {
 
 /**
+ * \class ListResponse RequestResponse.h <vamp-hostsdk/RequestResponse.h>
+ * 
+ * Vamp::HostExt::ListResponse is a structure containing the
+ * information returned by PluginLoader when asked to list static
+ * information about the available plugins.
+ *
+ * \see PluginLoader::listPluginData, PluginStaticData
+ *
+ * \note This class was introduced in version 2.7 of the Vamp plugin
+ * SDK, along with the PluginLoader method that returns this structure.
+ */
+struct ListResponse
+{
+    ListResponse() { } // empty by default
+    
+    std::vector<PluginStaticData> pluginData;
+};
+
+/**
  * \class LoadRequest RequestResponse.h <vamp-hostsdk/RequestResponse.h>
  * 
  * Vamp::HostExt::LoadRequest is a structure containing the