COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <LibLoader.hpp>
Inherits noncopyable.
Inherited by PosixDlopenLibLoader, and LibLoader.
Public Member Functions | |
LibLoader () | |
constructor More... | |
virtual | ~LibLoader () |
virtual destructor More... | |
void | load_library (const std::string &lib) |
void | unload_library (Library &lib) |
virtual void | system_load_library (const std::string &lib)=0 |
virtual void | set_search_paths (const std::vector< URI > &paths)=0 |
Static Public Member Functions | |
static std::string | type_name () |
Gets the Class name. More... | |
Class that explicit loads shared libraries independently of the operating system
Definition at line 38 of file LibLoader.hpp.
LibLoader | ( | ) |
constructor
Definition at line 19 of file LibLoader.cpp.
|
virtual |
void load_library | ( | const std::string & | lib | ) |
Loads a library and initiates it
LibLoadingError | if loading fails for any reason |
Definition at line 29 of file LibLoader.cpp.
|
pure virtual |
class interface to add paths to search for libraries
Implemented in PosixDlopenLibLoader.
|
pure virtual |
class interface to load a library depending on the operating system and the library loading algorithm
LibLoadingError | if loading fails for any reason |
Implemented in PosixDlopenLibLoader.
|
inlinestatic |
Gets the Class name.
Definition at line 66 of file LibLoader.hpp.
void unload_library | ( | Library & | lib | ) |
Unloads a library and initiates it
LibLoadingError | if loading fails for any reason |
Definition at line 45 of file LibLoader.cpp.
Send comments to: COOLFluiD Web Admin |