|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
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 | |
| ~PluginManager () override=default | |
| PluginManager (std::shared_ptr< TaskFactoryRegistry > task_factory_registry, std::shared_ptr< OutputRegistry > output_registry, 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 | |
| TaskFactoryRegistry & | getTaskFactoryRegistry () const override |
| OutputRegistry & | getOutputRegistry () const override |
| Public Member Functions inherited from SourceXtractor::PluginAPI | |
| 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 | |
Private Attributes | |
| boost::filesystem::path | m_plugin_path |
| std::vector< std::string > | m_plugin_list |
| std::shared_ptr< TaskFactoryRegistry > | m_task_factory_registry |
| std::shared_ptr< OutputRegistry > | m_output_registry |
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 54 of file PluginManager.h.
|
overridedefault |
|
inline |
Definition at line 59 of file PluginManager.h.
References m_output_registry, m_plugin_list, m_plugin_path, m_task_factory_registry, and std::move().

|
inlineoverridevirtual |
Implements SourceXtractor::PluginAPI.
Definition at line 76 of file PluginManager.h.
References m_output_registry.
|
inlineoverridevirtual |
Implements SourceXtractor::PluginAPI.
Definition at line 72 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 Euclid::Configuration::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 82 of file PluginManager.h.
References s_static_plugins.
Referenced by SourceXtractor::StaticPlugin< PluginType >::StaticPlugin().
|
private |
Definition at line 91 of file PluginManager.h.
Referenced by getOutputRegistry(), and PluginManager().
|
private |
Definition at line 88 of file PluginManager.h.
Referenced by loadPlugins(), and PluginManager().
|
private |
Definition at line 87 of file PluginManager.h.
Referenced by loadPlugins(), and PluginManager().
|
private |
Definition at line 90 of file PluginManager.h.
Referenced by getTaskFactoryRegistry(), and PluginManager().
|
staticprivate |
Definition at line 104 of file PluginManager.h.
Referenced by loadPlugins(), and registerStaticPlugin().