Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/PluginHostAdapter.h @ 53:74822738965b
* Some doc updates
author | cannam |
---|---|
date | Wed, 21 Mar 2007 14:15:25 +0000 |
parents | b907557b2fb9 |
children | 9d3272c7db60 |
comparison
equal
deleted
inserted
replaced
52:d3995d2b5e08 | 53:74822738965b |
---|---|
42 #include "Plugin.h" | 42 #include "Plugin.h" |
43 | 43 |
44 #include <vector> | 44 #include <vector> |
45 | 45 |
46 namespace Vamp { | 46 namespace Vamp { |
47 | |
48 /** | |
49 * PluginHostAdapter is a wrapper class that a Vamp host can use to | |
50 * make the C-language VampPluginDescriptor object appear as a C++ | |
51 * Vamp::Plugin object. | |
52 * | |
53 * The Vamp API is defined in vamp/vamp.h as a C API. The C++ objects | |
54 * used for convenience by plugins and hosts actually communicate | |
55 * using the C low-level API, but the details of this communication | |
56 * are handled seamlessly by the Vamp SDK implementation provided the | |
57 * plugin and host use the proper C++ wrapper objects. | |
58 * | |
59 * See also PluginAdapter, the plugin-side wrapper that makes a C++ | |
60 * plugin object available using the C query API. | |
61 */ | |
47 | 62 |
48 class PluginHostAdapter : public Plugin | 63 class PluginHostAdapter : public Plugin |
49 { | 64 { |
50 public: | 65 public: |
51 PluginHostAdapter(const VampPluginDescriptor *descriptor, | 66 PluginHostAdapter(const VampPluginDescriptor *descriptor, |