#include <DynamicLibrary.h>
Wrapper around the dynamic library facilities of the operating system. More...
Wrapper around the dynamic library facilities of the operating system.
| Classes | |
| class | Handle | 
| A handle to a dynamic library.  More... | |
| Static Public Attributes | |
| static const std::string | extension = "so" | 
| System-specific file extension for a dynamic library (e.g. "so").  More... | |
| static const std::string | prefix = "lib" | 
| System-specific file prefix for a dynamic library (e.g. "lib").  More... | |
| Static Public Member Functions | |
| static Handle | load (const std::string &filename) | 
| Load a dynamic library.  More... | |
| static int | unload (Handle handle) | 
| Unload a dynamic library loaded with load().  More... | |
| static void * | getSymbolAddress (Handle handle, const std::string &symbol) | 
| Get the address of a symbol.  More... | |
| static std::string | getLastError () | 
| Get the message for the most recent error that occurred from load(), unload() or getSymbolAddress().  More... | |
| 
 | static | 
System-specific file extension for a dynamic library (e.g. "so").
| 
 | static | 
System-specific file prefix for a dynamic library (e.g. "lib").
| 
 | static | 
Get the message for the most recent error that occurred from load(), unload() or getSymbolAddress().
| 
 | static | 
Get the address of a symbol.
| handle | The handle of a library. | 
| symbol | The symbol to look for. | 
| 
 | static | 
Load a dynamic library.
| filename | The library to load. |