Convenience class for library plugins. More...
#include <fsys.h>
Public Types | |
| typedef void * | addr_t |
Public Member Functions | |
| dso (const char *path) | |
| Create and map a dso object. | |
| dso () | |
| Create dso object for use by load functions. | |
| int | err (void) const |
| addr_t | find (const char *symbol) const |
| Find symbol in loaded module. | |
| void | map (const char *path) |
| Map library object with library. | |
| operator bool () | |
| bool | operator! () |
| addr_t | operator() (const char *symbol) const |
| addr_t | operator[] (const char *symbol) const |
| void | release (void) |
| Release loaded library. | |
| ~dso () | |
| Destroy dso and release library. | |
Friends | |
| class | fsys |
Convenience class for library plugins.
Definition at line 642 of file fsys.h.
| ucommon::dso::dso | ( | const char * | path | ) |
Create and map a dso object.
| path | of library to map. |
| addr_t ucommon::dso::find | ( | const char * | symbol | ) | const |
Find symbol in loaded module.
| module | to search. | |
| symbol | to search for. |
| void ucommon::dso::map | ( | const char * | path | ) |
Map library object with library.
| name | of library to load. |
1.6.1