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

Template class for easy plugin development and management. More...

#include <plugin.hpp>

Inheritance diagram for swarm::basic_plugin_initializer< T >:
swarm::integrator_plugin_initializer< T > swarm::writer_plugin_initializer< T >

Public Member Functions

 basic_plugin_initializer (const std::string &id, const std::string &description=std::string())
 Register the a basic_plugin<T> with specified id and description.
 

Detailed Description

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

Template class for easy plugin development and management.

Shorthand for plugin_initializer< basic_plugin < T > with some extra feautures.

If you have created a plugin with main class as MyPlugin, and you want to name the plugin as "integrator_MyPlugin", put this line in the global scope of your source code:

basic_plugin_initializer< MyPlugin > my_plugin_initialize
("integrator_MyPlugin", "This is my test plugin" );

Definition at line 135 of file plugin.hpp.


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