22 #ifndef LUNCHBOX_PLUGINREGISTERER_H 23 #define LUNCHBOX_PLUGINREGISTERER_H 25 #include <lunchbox/plugin.h> 26 #include <lunchbox/pluginFactory.h> 28 #include <boost/functional/factory.hpp> 73 {std::bind(boost::factory<T*>(), std::placeholders::_1),
74 std::bind(&T::handles, std::placeholders::_1),
75 std::bind(&T::getDescription)});
Helper class to statically register derived plugin classes.
PluginRegisterer()
Construct and register the Plugin< T > class.
void register_(const PluginT &plugin)
Register a plugin type.
Abstraction layer and common utilities for multi-threaded programming.
static PluginFactory & getInstance()
Get the single class instance.