High level API to enable work with dynamically loadable shared libraries.
More...
#include <SharedLibrary.hpp>
|
static String | GetArpLibrariesDirectory (void) |
|
High level API to enable work with dynamically loadable shared libraries.
◆ SharedLibrary() [1/2]
Arp::System::Commons::Runtime::SharedLibrary::SharedLibrary |
( |
void |
| ) |
|
◆ SharedLibrary() [2/2]
Arp::System::Commons::Runtime::SharedLibrary::SharedLibrary |
( |
const SharedLibrary & |
arg | ) |
|
|
delete |
◆ ~SharedLibrary()
virtual Arp::System::Commons::Runtime::SharedLibrary::~SharedLibrary |
( |
void |
| ) |
|
|
virtual |
Destructs this instance and frees all resouces.
◆ GetFunctionAddress()
void* Arp::System::Commons::Runtime::SharedLibrary::GetFunctionAddress |
( |
const String & |
symbolName | ) |
|
Returns the address where specified symbol is located in the memory.
- Parameters
-
symbolName | Name of queried symbol. |
- Returns
- Valid memory address on success, NULL if symbol could not be found.
◆ Load()
void Arp::System::Commons::Runtime::SharedLibrary::Load |
( |
const String & |
path | ) |
|
Loads the specified shared library.
Symbols exposed by the shared library are globally available after a successfull load.
- Parameters
-
path | The complete path to the library to load. |
- Exceptions
-
◆ operator=()
◆ Unload()
void Arp::System::Commons::Runtime::SharedLibrary::Unload |
( |
void |
| ) |
|
Unloads the shared library.
- Exceptions
-
The documentation for this class was generated from the following file: