Lunchbox
1.15.0
Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.
|
Helper class to statically register derived plugin classes. More...
#include <pluginRegisterer.h>
Public Member Functions | |
PluginRegisterer () | |
Construct and register the Plugin< T > class. More... | |
Helper class to statically register derived plugin classes.
If MyInitDataType is not given, default value is servus::URI.
The following code can be placed in a plugin's cpp file:
Also note that it needs the following type definition to be placed in the plugin's interface (or in all its implementations that are to be registered):
Definition at line 61 of file pluginRegisterer.h.
|
inline |
Construct and register the Plugin< T > class.
Definition at line 65 of file pluginRegisterer.h.
References lunchbox::PluginFactory< T >::getInstance(), and lunchbox::PluginFactory< T >::register_().