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 26 of file plugin_manager.hpp.
◆ FindModule()
virtual ModuleHandle plugify::IPluginManager::FindModule |
( |
std::string_view |
moduleName | ) |
const |
|
pure virtual |
Find a module by name.
- Parameters
-
moduleName | Name of the module to find. |
- Returns
- Handle to the found module.
◆ FindModuleFromId()
virtual ModuleHandle plugify::IPluginManager::FindModuleFromId |
( |
UniqueId |
moduleId | ) |
const |
|
pure virtual |
Find a module by unique identifier.
- Parameters
-
moduleId | Unique identifier of the module to find. |
- Returns
- Handle to the found module.
◆ FindModuleFromLang()
virtual ModuleHandle plugify::IPluginManager::FindModuleFromLang |
( |
std::string_view |
moduleLang | ) |
const |
|
pure virtual |
Find a module by language.
- Parameters
-
moduleLang | Language of the module to find. |
- Returns
- Handle to the found module.
◆ FindModuleFromPath()
virtual ModuleHandle 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
- Handle to the found module.
◆ FindPlugin()
virtual PluginHandle plugify::IPluginManager::FindPlugin |
( |
std::string_view |
pluginName | ) |
const |
|
pure virtual |
Find a plugin by name.
- Parameters
-
pluginName | Name of the plugin to find. |
- Returns
- Handle to the found plugin.
◆ FindPluginFromDescriptor()
Find a plugin by its descriptor.
- Parameters
-
- Returns
- Handle to the found plugin.
◆ FindPluginFromId()
virtual PluginHandle plugify::IPluginManager::FindPluginFromId |
( |
UniqueId |
pluginId | ) |
const |
|
pure virtual |
Find a plugin by unique identifier.
- Parameters
-
pluginId | Unique identifier of the plugin to find. |
- Returns
- Handle to the found plugin.
◆ GetModules()
virtual std::vector< ModuleHandle > plugify::IPluginManager::GetModules |
( |
| ) |
const |
|
pure virtual |
Get a vector of handles to all modules.
- Returns
- Vector of module handles.
◆ GetPlugins()
virtual std::vector< PluginHandle > plugify::IPluginManager::GetPlugins |
( |
| ) |
const |
|
pure virtual |
Get a vector of handles to all plugins.
- Returns
- Vector of plugin handles.
◆ 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.
◆ Update()
virtual void plugify::IPluginManager::Update |
( |
DateTime |
dt | ) |
|
|
pure virtual |
Updates the package manager.
- Parameters
-
dt | The time delta since the last update. |
The documentation for this class was generated from the following file: