Swarm-NG  1.1
swarm::plugin_initializer< T > Struct Template Reference

Template class to add your plugin to the list of plugins. More...

#include <plugin.hpp>

Detailed Description

template<class T>
struct swarm::plugin_initializer< T >

Template class to add your plugin to the list of plugins.

If your plugin class (derived from Plugin management) is named MyPlugin, to add it to swarm library you need to add this line to the global scope of your source code:

plugin_initializer< MyPlugin > my_plugin;

For easy to use version look at basic_plugin_initializer.

Definition at line 114 of file plugin.hpp.


The documentation for this struct was generated from the following file: