.. index:: pair: class; PluginManager .. _doxid-class_plugin_manager: class PluginManager =================== .. toctree:: :hidden: Overview ~~~~~~~~ Loads libraries and extracts engine launchers. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class PluginManager { public: // methods :ref:`EngineLauncherInterface::unique_ptr` :ref:`loadPlugin`(const std::string& pluginLibFile); void :ref:`addPluginPath`(const std::string& pluginPath); }; .. _details-class_plugin_manager: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Loads libraries and extracts engine launchers. Methods ------- .. index:: pair: function; loadPlugin .. _doxid-class_plugin_manager_1a94abd39547ba36fec39bfdbbd1f17483: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`EngineLauncherInterface::unique_ptr` loadPlugin(const std::string& pluginLibFile) Load a Plugin from a given library. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pluginLibFile - Plugin library file (.so) .. rubric:: Returns: Returns ptr to loaded EngineLauncher if found, nullptr otherwise .. index:: pair: function; addPluginPath .. _doxid-class_plugin_manager_1aae4c9a8c7f8c1f74fac06307b88acf22: .. ref-code-block:: cpp :class: doxyrest-title-code-block void addPluginPath(const std::string& pluginPath) Adds search path under which to look for plugins. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - pluginPath - Path to plugins