The generic base for all plug-ins. More...
#include <mia/core/plugin_base.hh>
Public Types | |
typedef D | PlugData |
Typedef for the data type descriptor handled by this plug-in. More... | |
typedef T | PlugType |
Typedef for the plugin type descriptor handled by this plug-in. More... | |
Public Member Functions | |
virtual void | get_help (std::ostream &os) const |
const std::string | get_long_name () const |
TPlugin (const char *name) | |
![]() | |
void | add_dependend_handlers (HandlerHelpMap &handler_map) |
void | add_parameter (const std::string &name, CParameter *param) |
void | append_interface (CPluginBase *plugin) |
void | check_parameters () |
CPluginBase (const char *name) | |
const std::string | get_descr () const |
void | get_help_xml (xmlpp::Element &root) const |
PPluginModule | get_module () const |
const char * | get_name () const |
void | get_short_help (std::ostream &os) const |
bool | has_property (const char *property) const |
CPluginBase * | next_interface () |
void | set_module (const PPluginModule &module) |
void | set_parameters (const CParsedOptions &options) |
virtual | ~CPluginBase () |
Static Public Member Functions | |
::boost::filesystem::path | search_path () |
Additional Inherited Members | |
![]() | |
void | add_property (const char *property) |
The generic base for all plug-ins.
Templated plugin base class. The classes D and T must define a static const char *data_descr and static const char *type_descr respectively. The combination D::data_descr and T::type_descr is will be part of the plugin search path.
D | data type descriptior |
T | plugin type descriptor |
Definition at line 198 of file plugin_base.hh.
Typedef for the data type descriptor handled by this plug-in.
Definition at line 201 of file plugin_base.hh.
Typedef for the plugin type descriptor handled by this plug-in.
Definition at line 204 of file plugin_base.hh.
The constructor initialises the plug-in with its name and sets its link-up to nil ant initialises its parameter map.
name |
|
virtual |
Write a help regarding the plugin to the output stream
os |
Reimplemented from CPluginBase.
const std::string TPlugin< D, T >::get_long_name | ( | ) | const |
|
static |