Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/PluginAdapter.h @ 13:85801331454c
* Make static adapter map a pointer to avoid any confusion about static
destructor ordering
author | cannam |
---|---|
date | Thu, 06 Apr 2006 16:35:49 +0000 |
parents | a3d35e11c3fe |
children | be8fdfe25693 |
comparison
equal
deleted
inserted
replaced
12:a3d35e11c3fe | 13:85801331454c |
---|---|
103 int sec, int nsec); | 103 int sec, int nsec); |
104 VampFeatureList *getRemainingFeatures(Plugin *plugin); | 104 VampFeatureList *getRemainingFeatures(Plugin *plugin); |
105 VampFeatureList *convertFeatures(Plugin *plugin, | 105 VampFeatureList *convertFeatures(Plugin *plugin, |
106 const Plugin::FeatureSet &features); | 106 const Plugin::FeatureSet &features); |
107 | 107 |
108 // maps both plugins and descriptors to adapters | |
108 typedef std::map<const void *, PluginAdapterBase *> AdapterMap; | 109 typedef std::map<const void *, PluginAdapterBase *> AdapterMap; |
109 static AdapterMap m_adapterMap; | 110 static AdapterMap *m_adapterMap; |
110 static PluginAdapterBase *lookupAdapter(VampPluginHandle); | 111 static PluginAdapterBase *lookupAdapter(VampPluginHandle); |
111 | 112 |
112 bool m_populated; | 113 bool m_populated; |
113 VampPluginDescriptor m_descriptor; | 114 VampPluginDescriptor m_descriptor; |
114 Plugin::ParameterList m_parameters; | 115 Plugin::ParameterList m_parameters; |