Convenience class for library plugins.
More...
#include <fsys.h>
|
|
| dso () |
| | Create dso object for use by load functions.
|
| |
| | dso (const char *path) |
| | Create and map a dso object.
|
| |
| 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 () const |
| |
| bool | operator! () const |
| |
| 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.
|
| |
Convenience class for library plugins.
- Author
- David Sugar dyfet.nosp@m.@gnu.nosp@m.telep.nosp@m.hony.nosp@m..org
Definition at line 662 of file fsys.h.
◆ addr_t
| void* ucommon::dso::addr_t |
◆ dso()
| ucommon::dso::dso |
( |
const char * | path | ) |
|
Create and map a dso object.
- Parameters
-
◆ err()
| int ucommon::dso::err |
( |
void | | ) |
const |
|
inline |
◆ find()
| addr_t ucommon::dso::find |
( |
const char * | symbol | ) |
const |
Find symbol in loaded module.
- Parameters
-
| module | to search. |
| symbol | to search for. |
- Returns
- address of symbol or NULL if not found.
◆ map()
| void ucommon::dso::map |
( |
const char * | path | ) |
|
Map library object with library.
- Parameters
-
◆ operator bool()
| ucommon::dso::operator bool |
( |
| ) |
const |
|
inline |
◆ operator!()
| bool ucommon::dso::operator! |
( |
| ) |
const |
|
inline |
◆ operator()()
| addr_t ucommon::dso::operator() |
( |
const char * | symbol | ) |
const |
|
inline |
◆ operator[]()
| addr_t ucommon::dso::operator[] |
( |
const char * | symbol | ) |
const |
|
inline |
◆ fsys
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/commoncpp-7.0.1/inc/ucommon/fsys.h