comparison vamp-hostsdk/RequestResponse.h @ 454:d6262c77e5a5 outputid-string-in-featureset

Begin plugin output id / index mapping for use in feature sets
author Chris Cannam
date Fri, 16 Sep 2016 14:13:21 +0100
parents 8dea61e4a7be
children 5c07a86abddd
comparison
equal deleted inserted replaced
453:22b29720da41 454:d6262c77e5a5
221 /** 221 /**
222 * \class ProcessResponse RequestResponse.h <vamp-hostsdk/RequestResponse.h> 222 * \class ProcessResponse RequestResponse.h <vamp-hostsdk/RequestResponse.h>
223 * 223 *
224 * A structure that bundles the data returned by a process call and by 224 * A structure that bundles the data returned by a process call and by
225 * Plugin::getRemainingFeatures(). This is simply a FeatureSet 225 * Plugin::getRemainingFeatures(). This is simply a FeatureSet
226 * wrapper, named for symmetry with the other request-response pairs. 226 * wrapper that happens to reference the plugin as well.
227 * 227 *
228 * \see Plugin::process(), Plugin::getRemainingFeatures() 228 * \see Plugin::process(), Plugin::getRemainingFeatures()
229 * 229 *
230 * \note This class was introduced in version 2.7 of the Vamp plugin 230 * \note This class was introduced in version 2.7 of the Vamp plugin
231 * SDK, but it is not currently used by the SDK. It is supplied as a 231 * SDK, but it is not currently used by the SDK. It is supplied as a
233 * and configuration request structs. 233 * and configuration request structs.
234 */ 234 */
235 struct ProcessResponse 235 struct ProcessResponse
236 { 236 {
237 public: 237 public:
238 ProcessResponse() // empty by default 238 ProcessResponse() : // invalid by default
239 { } 239 plugin(0) { }
240 240
241 Plugin *plugin;
241 Plugin::FeatureSet features; 242 Plugin::FeatureSet features;
242 }; 243 };
243 244
244 } 245 }
245 246