Class SharedLibLoader

Utility that open a shared library and load symbols from it.

class SharedLibLoader ;

Properties

NameTypeDescription
handle[get] void*Direct handle access
libName[get] stringReturns the name of the shared library that was open. Empty string if not loaded.
loaded[get] boolReturns whether the shared library is open.

Methods

NameDescription
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.