21 #ifndef mia_core_plugin_base_hh 22 #define mia_core_plugin_base_hh 52 ~PrepareTestPluginPath();
84 void set_priority(
unsigned p);
89 unsigned get_priority()
const;
105 bool has_property(
const char *property)
const;
131 void add_property(
const char *property);
169 template <
typename D,
typename T>
189 virtual void get_help(std::ostream& os)
const;
192 static const char * get_data_path_part();
194 static const char * get_type_path_part();
198 const std::string get_long_name()
const;
207 template <
typename Plugin>
209 static constexpr
bool value =
false;
D PlugData
Typedef for the data type descriptor handled by this plug-in.
T PlugType
Typedef for the plugin type descriptor handled by this plug-in.
#define NS_MIA_BEGIN
conveniance define to start 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.
std::shared_ptr< CPluginModule > PPluginModule
The base class for all plug-ins.
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
EXPORT_CORE const std::string plugin_help
standard string to print out help in the factory plug-in handler
This class holds a set of properties.
The generic base for all plug-ins.
#define NS_MIA_END
conveniance define to end the mia namespace