#include <boost/any.hpp>
#include <string>
#include <map>
#include <utilmm/plugin/concrete_factory.hh>
Go to the source code of this file.
Defines | |
#define | BOOST_EXPORT_PLUGIN(BaseType, ActualType, name) |
#define | BOOST_EXPORT_PLUGIN_LIST() |
#define BOOST_EXPORT_PLUGIN | ( | BaseType, | |
ActualType, | |||
name | |||
) |
extern "C" std::map<std::string, boost::any>& boost_exported_plugins_list(); \ namespace { \ struct boost_plugin_exporter1 { \ boost_plugin_exporter1() { \ static utilmm::plugin::concrete_factory<BaseType, ActualType> cf; \ utilmm::plugin::abstract_factory<BaseType>* w = &cf; \ boost_exported_plugins_list().insert(std::make_pair(name, w)); \ } \ } boost_plugin_exporter_instance1; \ }
Definition at line 15 of file export_plugin.hh.
#define BOOST_EXPORT_PLUGIN_LIST | ( | ) |
extern "C" std::map<std::string, boost::any>& boost_exported_plugins_list() \ { \ static std::map<std::string, boost::any> r; \ return r; \ }
Definition at line 27 of file export_plugin.hh.