Mercurial > hg > vamp-plugin-sdk
comparison vamp-hostsdk/PluginConfiguration.h @ 430:fbdb06ce1e9a vampipe
Move ConfigurationRequest/Response into RequestResponse.h
author | Chris Cannam |
---|---|
date | Wed, 18 May 2016 10:35:13 +0100 |
parents | 4912b698f3f7 |
children |
comparison
equal
deleted
inserted
replaced
429:9c25e2289faa | 430:fbdb06ce1e9a |
---|---|
102 | 102 |
103 return c; | 103 return c; |
104 } | 104 } |
105 }; | 105 }; |
106 | 106 |
107 /** | |
108 * \class ConfigurationRequest PluginConfiguration.h <vamp-hostsdk/PluginConfiguration.h> | |
109 * | |
110 * A wrapper for a plugin pointer and PluginConfiguration, bundling up | |
111 * the data needed to configure a plugin after it has been loaded. | |
112 * | |
113 * \see PluginConfiguration, ConfigurationResponse, LoadRequest, LoadResponse | |
114 */ | |
115 struct ConfigurationRequest | |
116 { | |
117 public: | |
118 ConfigurationRequest() : // invalid request by default | |
119 plugin(0) { } | |
120 | |
121 Plugin *plugin; | |
122 PluginConfiguration configuration; | |
123 }; | |
124 | |
125 /** | |
126 * \class ConfigurationResponse PluginConfiguration.h <vamp-hostsdk/PluginConfiguration.h> | |
127 * | |
128 * The return value from a configuration request (i.e. setting the | |
129 * parameters and initialising the plugin). If the configuration was | |
130 * successful, the output list will contain the final | |
131 * post-initialisation output descriptors. If configuration failed, | |
132 * the output list will be empty. | |
133 * | |
134 * \see PluginConfiguration, ConfigurationRequest, LoadRequest, LoadResponse | |
135 */ | |
136 struct ConfigurationResponse | |
137 { | |
138 public: | |
139 ConfigurationResponse() // failed by default | |
140 { } | |
141 | |
142 Plugin::OutputList outputs; | |
143 }; | |
144 | |
145 } | 107 } |
146 | 108 |
147 } | 109 } |
148 | 110 |
149 _VAMP_SDK_HOSTSPACE_END(PluginConfiguration.h) | 111 _VAMP_SDK_HOSTSPACE_END(PluginConfiguration.h) |