#include <file.h>
Public Methods | |
DSO (const char *filename) | |
Construct and load a DSO object file. More... | |
DSO (const char *filename, bool resolve) | |
const char* | getError (void) |
Retrieve error indicator associated with DSO failure. More... | |
virtual | ~DSO () |
Detach a DSO object from running memory. More... | |
void* | operator[] (const char *sym) |
Lookup a symbol in the loaded file. More... | |
bool | isValid (void) |
See if DSO object is valid. More... | |
Static Public Methods | |
void | dynunload (void) |
DSO* | getObject (const char *name) |
Find a specific DSO object by filename. More... | |
void | setDebug (void) |
Install debug handler... More... |
On elf based systems this is typically done with dlopen. A dummy stub class is generated for non-dl capable systems.
|
Construct and load a DSO object file.
|
|
|
|
Detach a DSO object from running memory.
|
|
|
|
Retrieve error indicator associated with DSO failure. This is often used in catch handlers. |
|
Find a specific DSO object by filename.
|
|
See if DSO object is valid.
|
|
Lookup a symbol in the loaded file.
|
|
Install debug handler...
|