Function boost_plugin_loader::loadLibraries
Defined in File plugin_loader.hpp
Function Documentation
-
static std::vector<boost::dll::shared_library> boost_plugin_loader::loadLibraries(const std::set<std::string> &library_names, const std::set<std::string> &search_paths_local, const bool search_system_folders)
Loads all libraries.
This function first attempts to load the libraries specified as complete, absolute paths. If the provided library name is not an absolute path, then this function searches for the library in each of the provided local search paths. If the provided library name is not an absolute path and does not exist in the local search paths, then this function optionally searches for the library in system directories.
- Parameters:
library_names – list of library names
search_paths_local – list of local search paths in which to look for plugin libraries
search_system_folders – flag indicating whether to look for plugins in system level folders
- Returns:
list of libraries with the specified input names that could be found in the specified input directories. Libraries specified with absolute paths will be returned first in the list before libraries found in local paths (but in no particular order in at the front of the list).