Manager class for PicoScenes plugins.
More...
#include <PicoScenesPluginManager.hxx>
Manager class for PicoScenes plugins.
Handles plugin lifecycle management, including loading, initialization, execution, and unloading of plugins
Definition at line 75 of file PicoScenesPluginManager.hxx.
◆ callRxHandles()
void PicoScenesPluginManager::callRxHandles |
( |
const ModularPicoScenesRxFrame & |
rxs | ) |
|
Call rx handlers for all plugins.
- Parameters
-
rxs | Received frame to process |
◆ deactivateAllPlugins()
void PicoScenesPluginManager::deactivateAllPlugins |
( |
| ) |
|
◆ getAllPlugins()
Get all installed plugins.
- Returns
- Vector of plugin wrappers
◆ getInstance()
Get plugin manager instance for specific NIC.
- Parameters
-
nic | Network interface card instance |
- Returns
- Shared pointer to plugin manager
◆ getPluginOptions()
static const std::vector< std::shared_ptr< po::options_description > > & PicoScenesPluginManager::getPluginOptions |
( |
| ) |
|
|
static |
Get all plugin options.
- Returns
- Vector of option descriptions for all plugins
◆ listPluginsInFolder()
static std::vector< std::string > PicoScenesPluginManager::listPluginsInFolder |
( |
| ) |
|
|
static |
List all available plugins in the plugin directory.
- Returns
- Vector of plugin file paths
◆ parseAndExecuteCommands()
void PicoScenesPluginManager::parseAndExecuteCommands |
( |
const std::string & |
commandString | ) |
|
Parse and execute plugin commands.
- Parameters
-
commandString | Command string to execute |
◆ tryInstallPlugin()
std::pair< bool, std::string > PicoScenesPluginManager::tryInstallPlugin |
( |
const std::string & |
pluginFilePath | ) |
|
Attempt to install a plugin.
- Parameters
-
pluginFilePath | Path to the plugin file |
- Returns
- Pair of (success status, plugin name)
◆ uninstallAllPlugins()
void PicoScenesPluginManager::uninstallAllPlugins |
( |
| ) |
|
◆ uninstallPlugin()
void PicoScenesPluginManager::uninstallPlugin |
( |
const std::string & |
plugInName | ) |
|
Uninstall a specific plugin.
- Parameters
-
plugInName | Name of plugin to uninstall |
◆ pluginDir
NIC_API std::string PicoScenesPluginManager::pluginDir |
|
static |
The documentation for this class was generated from the following file: