class PluginManager¶
Overview¶
Loads libraries and extracts engine launchers. More…
#include <plugin_manager.h> class PluginManager { public: // methods EngineLauncherInterface::unique_ptr loadPlugin(const std::string& pluginLibFile); void addPluginPath(const std::string& pluginPath); };
Detailed Documentation¶
Loads libraries and extracts engine launchers.
Methods¶
EngineLauncherInterface::unique_ptr loadPlugin(const std::string& pluginLibFile)
Load a Plugin from a given library.
Parameters:
pluginLibFile |
Plugin library file (.so) |
Returns:
Returns ptr to loaded EngineLauncher if found, nullptr otherwise
void addPluginPath(const std::string& pluginPath)
Adds search path under which to look for plugins.
Parameters:
pluginPath |
Path to plugins |