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

Template to add a new integrator to swarm. More...

#include <plugin.hpp>

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

Public Member Functions

 integrator_plugin_initializer (const std::string &id, const std::string &description=std::string())
 Register an integrator plugin with specified id and description. Note: automatically adds the prefix "integrator_".
 
- Public Member Functions inherited from swarm::basic_plugin_initializer< T >
 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::integrator_plugin_initializer< T >

Template to add a new integrator to swarm.

Example: If you have developed a new integrator class "advanced_example", put this line in the global scope to add it to the swarmng library. The second string is the human readable briefing about your integrator

integrator_plugin_initializer< advanced_example > advanced_example_initializer
("advanced_example" , "This is my advanced integrators that I implemented" );

Definition at line 158 of file plugin.hpp.


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