#include <BaseSharedLib.h>
Inheritance diagram for BaseSharedLib:
Public Methods | |
BaseSharedLib (const char *pathName="", int loadIt=0) | |
Constructor accepting optional pathName and optional library loading flag. More... | |
~BaseSharedLib () | |
Destructor. More... | |
void | setPathName (const char *name) |
Set the path name to the shared library. More... | |
const char * | getPathName () |
Return current path name. More... | |
int | load () |
void | unload () |
Unload the library (static destructors will be called). More... | |
void * | lookUp (const char *funName) |
Look up a C symbol from the library. More... | |
Private Attributes | |
char * | fLibPath |
SharedLibHandle | fLibHandle |
Definition at line 28 of file BaseSharedLib.h.
|
Definition at line 11 of file BaseSharedLib.cpp. References load, and setPathName. |
|
Definition at line 19 of file BaseSharedLib.cpp. |
|
Definition at line 33 of file BaseSharedLib.cpp. References fLibPath. Referenced by ActiveSharedLib::compile, and ActiveSharedLib::remove. |
|
Load the library (static contructors will be called). The method will return 0 if loading was not successful. Definition at line 38 of file BaseSharedLib.cpp. References fLibHandle, fLibPath, and unload. Referenced by BaseSharedLib. |
|
Definition at line 108 of file BaseSharedLib.cpp. References fLibHandle, and fLibPath. |
|
Definition at line 26 of file BaseSharedLib.cpp. References fLibPath. Referenced by BaseSharedLib, and ActiveSharedLib::makeLib. |
|
Definition at line 86 of file BaseSharedLib.cpp. References fLibHandle. Referenced by load, ActiveSharedLib::remove, and ~BaseSharedLib. |
|
Definition at line 42 of file BaseSharedLib.h. |
|
Definition at line 30 of file BaseSharedLib.h. Referenced by getPathName, load, lookUp, setPathName, and ~BaseSharedLib. |