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