#include <usharedlib.hpp>
Inheritance diagram for ufo::USharedLib:
Public Types | |
enum | ldmode_t { bindNow, bindLazy } |
Public Member Functions | |
USharedLib (const std::string &fileName, ldmode_t mode=bindLazy) | |
std::string | getFileName () const |
void * | symbol (const std::string &sym) |
void * | operator[] (const std::string &sym) |
bool | load (const std::string &fileName, ldmode_t mode=bindLazy) |
void | unload () |
|
Function binding mode |
|
Returns the file name for the loaded shared lib. |
|
Loads the given shared library. |
|
Loads the given symbol from the loaded object file. |
|
Loads the given symbol from the loaded object file. |
|
Unloads the loaded library (if any). |