Go to the documentation of this file.
21 #ifndef mia_core_plugin_base_hh
22 #define mia_core_plugin_base_hh
170 template <
typename D,
typename T>
209 template <
typename Plugin>
211 static constexpr
bool value =
false;
bool has_property(const char *property) const
void set_priority(unsigned p)
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
T PlugType
Typedef for the plugin type descriptor handled by this plug-in.
const std::string get_long_name() const
CPluginBase * next_interface()
The base class for all plug-ins.
EXPORT_CORE const std::string plugin_help
standard string to print out help in the factory plug-in handler
void set_module(const PPluginModule &module)
static const char * get_data_path_part()
void add_dependend_handlers(HandlerHelpMap &handler_map)
CPluginBase(const char *name)
#define NS_MIA_END
conveniance define to end the mia namespace
std::map< std::string, const CPluginHandlerBase * > HandlerHelpMap
A map that is used to collect the plug-in handlers used in a program.
This class holds a set of properties.
std::shared_ptr< CPluginModule > PPluginModule
The generic base for all plug-ins.
static constexpr bool value
void append_interface(CPluginBase *plugin)
unsigned get_priority() const
D PlugData
Typedef for the data type descriptor handled by this plug-in.
void add_property(const char *property)
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
TPlugin(const char *name)
PPluginModule get_module() const
virtual void get_help(std::ostream &os) const
static const char * get_type_path_part()