Helper class to dynamically load named functions from libraries. More...
#include <moduleLoader.h>

Public Member Functions | |
| virtual void * | getFunction (string fnString)=0 |
| ModuleLoader () | |
| ~ModuleLoader () | |
Protected Member Functions | |
| string | extractFunctionName (string fnString) |
| string | extractLibName (string fnString) |
Protected Attributes | |
| map< string, void * > | _openLibs |
| contains the handles for open libraries | |
Helper class to dynamically load named functions from libraries.
Basically this class offers the functionality to pass a string as "checkcond@libtest.so" returning the function pointer to "checkcond in libtest.so".
Definition at line 14 of file moduleLoader.h.
Definition at line 3 of file moduleLoader.cpp.
Definition at line 8 of file moduleLoader.cpp.
| string ModuleLoader::extractFunctionName | ( | string | fnString | ) | [protected] |
Definition at line 13 of file moduleLoader.cpp.
| string ModuleLoader::extractLibName | ( | string | fnString | ) | [protected] |
Definition at line 21 of file moduleLoader.cpp.
| virtual void* ModuleLoader::getFunction | ( | string | fnString | ) | [pure virtual] |
Implemented in ModuleLoaderDLL, and ModuleLoaderLDL.
map<string, void*> ModuleLoader::_openLibs [protected] |
contains the handles for open libraries
Definition at line 28 of file moduleLoader.h.