comparison vamp-sdk/hostext/PluginWrapper.cpp @ 59:fa79c4ec847d host-factory-stuff

* Put hostext stuff in the HostExt sub-namespace * Tidy up system-specific stuff in PluginLoader * Make PluginLoader return a deletion-notifying wrapper which permits the library to be unloaded when no longer in use * Add PluginChannelAdapter * Make vamp-simple-host use PluginChannelAdapter, and use the PluginLoader for plugin-running task. Also some other enhancements to host
author cannam
date Thu, 24 May 2007 15:17:07 +0000
parents 0284955e31e5
children 97c5ac99d725
comparison
equal deleted inserted replaced
58:0284955e31e5 59:fa79c4ec847d
36 36
37 #include "PluginWrapper.h" 37 #include "PluginWrapper.h"
38 38
39 namespace Vamp { 39 namespace Vamp {
40 40
41 namespace HostExt {
42
41 PluginWrapper::PluginWrapper(Plugin *plugin) : 43 PluginWrapper::PluginWrapper(Plugin *plugin) :
42 Plugin(0) 44 Plugin(0),
45 m_plugin(plugin)
43 { 46 {
44 } 47 }
45 48
46 PluginWrapper::~PluginWrapper() 49 PluginWrapper::~PluginWrapper()
47 { 50 {
185 return m_plugin->getRemainingFeatures(); 188 return m_plugin->getRemainingFeatures();
186 } 189 }
187 190
188 } 191 }
189 192
193 }
194