SourceXtractorPlusPlus
0.12
Please provide a description of the project.
|
PluginManager handles the loading of plugins and calls their registration function, providing them with with a PluginAPI implementation. More...
#include <PluginManager.h>
Public Member Functions | |
virtual | ~PluginManager ()=default |
PluginManager (std::shared_ptr< TaskFactoryRegistry > task_factory_registry, std::shared_ptr< OutputRegistry > output_registry, long config_manager_id, std::string plugin_path, std::vector< std::string > plugin_list) | |
void | loadPlugins () |
loads all the available plugins. Both those linked at compile-time and those loaded at run-time More... | |
virtual TaskFactoryRegistry & | getTaskFactoryRegistry () const override |
virtual OutputRegistry & | getOutputRegistry () const override |
Euclid::Configuration::ConfigManager & | getConfigManager () const override |
![]() | |
virtual | ~PluginAPI ()=default |
Static Public Member Functions | |
template<typename T > | |
static void | registerStaticPlugin () |
registers a plugin, this is used to register plugins linked at compile-time More... | |
Static Private Attributes | |
static std::vector < std::unique_ptr< Plugin > > | s_static_plugins |
PluginManager handles the loading of plugins and calls their registration function, providing them with with a PluginAPI implementation.
Definition at line 53 of file PluginManager.h.
|
virtualdefault |
|
inline |
Definition at line 58 of file PluginManager.h.
|
inlineoverridevirtual |
Implements SourceXtractor::PluginAPI.
Definition at line 81 of file PluginManager.h.
References Euclid::Configuration::ConfigManager::getInstance(), and m_config_manager_id.
|
inlineoverridevirtual |
Implements SourceXtractor::PluginAPI.
Definition at line 77 of file PluginManager.h.
References m_output_registry.
|
inlineoverridevirtual |
Implements SourceXtractor::PluginAPI.
Definition at line 73 of file PluginManager.h.
References m_task_factory_registry.
void SourceXtractor::PluginManager::loadPlugins | ( | ) |
loads all the available plugins. Both those linked at compile-time and those loaded at run-time
Definition at line 51 of file PluginManager.cpp.
References Elements::Logging::info(), SourceXtractor::logger, m_plugin_list, m_plugin_path, and s_static_plugins.
|
inlinestatic |
registers a plugin, this is used to register plugins linked at compile-time
Definition at line 87 of file PluginManager.h.
References s_static_plugins.
|
private |
Definition at line 97 of file PluginManager.h.
Referenced by getConfigManager().
|
private |
Definition at line 96 of file PluginManager.h.
Referenced by getOutputRegistry().
|
private |
Definition at line 93 of file PluginManager.h.
Referenced by loadPlugins().
|
private |
Definition at line 92 of file PluginManager.h.
Referenced by loadPlugins().
|
private |
Definition at line 95 of file PluginManager.h.
Referenced by getTaskFactoryRegistry().
|
staticprivate |
Definition at line 110 of file PluginManager.h.
Referenced by loadPlugins(), and registerStaticPlugin().