NRP Core  1.4.1
EnginePluginManager Class Reference

Loads libraries and extracts engine launchers. More...

#include <engine_plugin_manager.h>

Inheritance diagram for EnginePluginManager:
PluginManager

Public Member Functions

EngineLauncherInterface::unique_ptr loadEnginePlugin (const std::string &pluginLibFile)
 Load a Plugin from a given library. More...
 
- Public Member Functions inherited from PluginManager
bool loadPlugin (const std::string &pluginLibFile)
 Load a Plugin from a given library. More...
 
 ~PluginManager ()
 Destructor. Unloads all plugin libraries. More...
 
void addPluginPath (const std::string &pluginPath)
 Adds search path under which to look for plugins. More...
 

Additional Inherited Members

- Protected Attributes inherited from PluginManager
std::map< std::string, void * > _loadedLibs
 Loaded Libraries. More...
 

Detailed Description

Loads libraries and extracts engine launchers.

Member Function Documentation

◆ loadEnginePlugin()

EngineLauncherInterface::unique_ptr EnginePluginManager::loadEnginePlugin ( const std::string &  pluginLibFile)

Load a Plugin from a given library.

Parameters
pluginLibFilePlugin library file (.so)
Returns
Returns ptr to loaded EngineLauncher if found, nullptr otherwise

The documentation for this class was generated from the following files: