#include <plugin.hpp>

Public Member Functions | |
| basic_plugin (const std::string &i, const std::string &d=std::string()) | |
| Specify id and description in the constructor. | |
| virtual void * | create (const config &cfg) |
| Instance the class T and return it. | |
| virtual std::string | id () |
| id as specified in constructor | |
| virtual std::string | description () |
| description as specified in constructor | |
class T should have a constructor that takes config as parameter.
Making plugins that make an instance of a specific class is a pretty common task. To define the plugin class for your plugin package:
Definition at line 87 of file plugin.hpp.