MIRA
|
Class for loading multiple shared libraries. More...
#include <utils/SharedLibrary.h>
Public Member Functions | |
void | loadLibrary (const Path &library) |
Load a library and open it. More... | |
void | loadLibraries (const Path &path) |
Load all libraries from a directory and open them. More... | |
Protected Attributes | |
std::list< SharedLibraryPtr > | mLibraries |
list of all loaded libraries More... | |
Class for loading multiple shared libraries.
The class keeps track of the opened libraries and closes them upon destruction.
void loadLibrary | ( | const Path & | library | ) |
Load a library and open it.
If the specified path does not contain a library extension, the operating system dependent library prefix and suffix are added to the library filename. This allows to specify libraries in an OS independent way.
[in] | library | Path to the library file |
void loadLibraries | ( | const Path & | path | ) |
Load all libraries from a directory and open them.
[in] | path | Directory of the library files |
|
protected |
list of all loaded libraries