Class SharedLibLoader
Utility that open a shared library and load symbols from it.
Properties
Name | Type | Description |
handle [get]
|
void* | Direct handle access
|
libName [get]
|
string | Returns the name of the shared library that was open.
Empty string if not loaded.
|
loaded [get]
|
bool | Returns whether the shared library is open.
|
Methods
Name | Description |
bind
(optional)
|
Bind a symbol, using the function pointer symbol name.
|
bindSymbols
()
|
Subclasses can override this to bind all the necessary symbols.
Default implementation does nothing.
|
load
(libNames)
|
Load the shared libraries and call bindSymbols if succesful.
|