Interface for the plugin manager provided to the user, implemented in the core.
More...
#include <plugin_manager.hpp>
Interface for the plugin manager provided to the user, implemented in the core.
Definition at line 36 of file plugin_manager.hpp.
◆ FindModule()
virtual ModuleOpt plugify::IPluginManager::FindModule |
( |
std::string_view |
moduleName | ) |
const |
|
pure virtual |
Find a module by name.
- Parameters
-
moduleName | Name of the module to find. |
- Returns
- Optional reference to the found module.
◆ FindModuleFromId()
virtual ModuleOpt plugify::IPluginManager::FindModuleFromId |
( |
UniqueId |
moduleId | ) |
const |
|
pure virtual |
Find a module by unique identifier.
- Parameters
-
moduleId | Unique identifier of the module to find. |
- Returns
- Optional reference to the found module.
◆ FindModuleFromLang()
virtual ModuleOpt plugify::IPluginManager::FindModuleFromLang |
( |
std::string_view |
moduleLang | ) |
const |
|
pure virtual |
Find a module by language.
- Parameters
-
moduleLang | Language of the module to find. |
- Returns
- Optional reference to the found module.
◆ FindModuleFromPath()
virtual ModuleOpt plugify::IPluginManager::FindModuleFromPath |
( |
const std::filesystem::path & |
moduleFilePath | ) |
const |
|
pure virtual |
Find a module by file path.
- Parameters
-
moduleFilePath | File path of the module to find. |
- Returns
- Optional reference to the found module.
◆ FindPlugin()
virtual PluginOpt plugify::IPluginManager::FindPlugin |
( |
std::string_view |
pluginName | ) |
const |
|
pure virtual |
Find a plugin by name.
- Parameters
-
pluginName | Name of the plugin to find. |
- Returns
- Optional reference to the found plugin.
◆ FindPluginFromDescriptor()
Find a plugin by its descriptor.
- Parameters
-
- Returns
- Optional reference to the found plugin.
◆ FindPluginFromId()
virtual PluginOpt plugify::IPluginManager::FindPluginFromId |
( |
UniqueId |
pluginId | ) |
const |
|
pure virtual |
Find a plugin by unique identifier.
- Parameters
-
pluginId | Unique identifier of the plugin to find. |
- Returns
- Optional reference to the found plugin.
◆ GetModules()
virtual std::vector<ModuleRef> plugify::IPluginManager::GetModules |
( |
| ) |
const |
|
pure virtual |
Get a vector of references to all modules.
- Returns
- Vector of module references.
◆ GetPlugins()
virtual std::vector<PluginRef> plugify::IPluginManager::GetPlugins |
( |
| ) |
const |
|
pure virtual |
Get a vector of references to all plugins.
- Returns
- Vector of plugin references.
◆ Initialize()
virtual bool plugify::IPluginManager::Initialize |
( |
| ) |
|
|
pure virtual |
Initialize the plugin manager.
- Returns
- True if initialization is successful, false otherwise.
◆ IsInitialized()
virtual bool plugify::IPluginManager::IsInitialized |
( |
| ) |
const |
|
pure virtual |
Check if the plugin manager is initialized.
- Returns
- True if the plugin manager is initialized, false otherwise.
The documentation for this class was generated from the following file: