22 #ifndef LUNCHBOX_PLUGINREGISTERER_H 23 #define LUNCHBOX_PLUGINREGISTERER_H 25 #include <lunchbox/plugin.h> 26 #include <lunchbox/pluginFactory.h> 28 #include <boost/bind.hpp> 29 #include <boost/version.hpp> 30 #include <boost/functional/factory.hpp> 68 boost::bind( boost::factory< T* >(), _1 ),
69 boost::bind( &T::handles, _1 ));
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.
Manages a class deriving from a T interface.
static PluginFactory & getInstance()
Get the single class instance.