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) | |
Public Member Functions inherited from CPluginBase | |
void | add_dependend_handlers (HandlerHelpMap &handler_map) |
void | add_property (const char *property) |
void | append_interface (CPluginBase *plugin) |
CPluginBase (const char *name) | |
PPluginModule | get_module () const |
unsigned | get_priority () const |
bool | has_property (const char *property) const |
CPluginBase * | next_interface () |
void | set_module (const PPluginModule &module) |
void | set_priority (unsigned p) |
virtual | ~CPluginBase () |
Public Member Functions inherited from CParamTranslator | |
void | add_parameter (const std::string &name, CParameter *param) |
void | check_parameters () |
CParamTranslator (const char *name) | |
virtual void | do_get_help_xml (CXMLElement &root) const |
const std::string | get_descr () const |
void | get_help (std::ostream &os) const |
void | get_help_xml (CXMLElement &root) const |
const char * | get_name () const |
void | get_short_help (std::ostream &os) const |
void | set_parameters (const CParsedOptions &options) |
virtual | ~CParamTranslator () |
Static Public Member Functions | |
static const char * | get_data_path_part () |
static const char * | get_type_path_part () |
Additional Inherited Members | |
Protected Member Functions inherited from CParamTranslator | |
CParamList & | get_parameters () |
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 170 of file plugin_base.hh.
Typedef for the data type descriptor handled by this plug-in.
Definition at line 173 of file plugin_base.hh.
Typedef for the plugin type descriptor handled by this plug-in.
Definition at line 176 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 |
|
static |
|
virtual |
Write a help regarding the plugin to the output stream
os |
const std::string TPlugin< D, T >::get_long_name | ( | ) | const |
|
static |