Go to the documentation of this file.
6 #ifndef BOOST_EXPORT_PLUGIN_VP_2004_08_25
7 #define BOOST_EXPORT_PLUGIN_VP_2004_08_25
9 #include <boost/any.hpp>
15 #define BOOST_EXPORT_PLUGIN(BaseType, ActualType, name) \
16 extern "C" std::map<std::string, boost::any>& boost_exported_plugins_list(); \
18 struct boost_plugin_exporter1 { \
19 boost_plugin_exporter1() { \
20 static utilmm::plugin::concrete_factory<BaseType, ActualType> cf; \
21 utilmm::plugin::abstract_factory<BaseType>* w = &cf; \
22 boost_exported_plugins_list().insert(std::make_pair(name, w)); \
24 } boost_plugin_exporter_instance1; \
27 #define BOOST_EXPORT_PLUGIN_LIST() \
28 extern "C" std::map<std::string, boost::any>& boost_exported_plugins_list() \
30 static std::map<std::string, boost::any> r; \
Generated on Tue Oct 9 2018 10:12:45 for Util-- by
1.8.6