Go to the documentation of this file.
21 #ifndef mia_core_plugin_base_hh
22 #define mia_core_plugin_base_hh
85 void set_priority(
unsigned p);
90 unsigned get_priority()
const;
106 bool has_property(
const char *property)
const;
132 void add_property(
const char *property);
170 template <
typename D,
typename T>
191 virtual void get_help(std::ostream& os)
const;
194 static const char *get_data_path_part();
196 static const char *get_type_path_part();
200 const std::string get_long_name()
const;
209 template <
typename Plugin>
211 static constexpr
bool value =
false;
#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 EXPORT_CORE std::string plugin_help
standard string to print out help in the factory plug-in handler
The base class for all plug-ins.
#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
D PlugData
Typedef for the data type descriptor handled by this plug-in.
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
void get_help(std::ostream &os) const