|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Class managing a set of plugins. More...
#include <rexlib/core/plugin_manager.hpp>
Public Member Functions | |
| plugin_manager (const plugin_manager &other)=delete | |
| plugin_manager (plugin_manager &&other) noexcept | |
| plugin_manager & | operator= (const plugin_manager &other)=delete |
| plugin_manager & | operator= (plugin_manager &&other) noexcept |
| void | add_plugin (const plugin &plugin) |
| Add a already loaded plugin. | |
| const plugin * | load_plugin (const std::string &path) |
| Load a plugin from a Shared Object and add it. | |
| std::size_t | get_plugin_count () const noexcept |
| Get the number of plugins known by this manager. | |
| const plugin & | get_plugin (std::size_t index) const |
| Get the i-th plugin. | |
Class managing a set of plugins.
Add a already loaded plugin.
| plugin | The plugin to be added. |
Get the i-th plugin.
| index | The index of the requested plugin. Must be less than the plugin count. |
|
noexcept |
Get the number of plugins known by this manager.
Load a plugin from a Shared Object and add it.
The path to the shared object can be provided without a extension, in which case it will be inferred from the platform. Relative paths will be searched in LD_LIBRARY_PATH.
| path | Path to the plugin. |