#include <DynamicLoader.h>
Public Member Functions | |
DynamicLoader () | |
virtual | ~DynamicLoader () |
Object * | clone () const |
DLLHandle | openHandle (JString libname) |
bool | closeHandle (DLLHandle handle) |
bool | closeAllHandles () |
bool | clearErrors () |
bool | loadLibrary (JString libname) |
bool | unloadLibrary (JString libname) |
DLLFunction | getFunction (JString libname, JString funcname) |
DLLFunction | getFunction (JString funcname) |
DLLFunction | getFunction (DLLHandle handle, JString funcname) |
bool | checkLibraryVersion (const JString &libname) |
bool | didErrorHappen () |
JString | getLastErrorMessage () |
bool | setTestLib (JString lib) |
bool | unitTest () |
Protected Attributes | |
ObjectDictionary | libHandles |
JString | lastErrorMessage |
JString | testlib |
JMutex | libMutex |
Definition at line 63 of file DynamicLoader.h.
cmlabs::DynamicLoader::DynamicLoader | ( | ) |
Definition at line 33 of file DynamicLoader.cpp.
cmlabs::DynamicLoader::~DynamicLoader | ( | ) | [virtual] |
Definition at line 37 of file DynamicLoader.cpp.
Object* cmlabs::DynamicLoader::clone | ( | ) | const [virtual] |
DLLHandle cmlabs::DynamicLoader::openHandle | ( | JString | libname | ) |
Definition at line 52 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::closeHandle | ( | DLLHandle | handle | ) |
Definition at line 180 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::closeAllHandles | ( | ) |
Definition at line 246 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::clearErrors | ( | ) |
Definition at line 42 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::loadLibrary | ( | JString | libname | ) |
Definition at line 265 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::unloadLibrary | ( | JString | libname | ) |
Definition at line 296 of file DynamicLoader.cpp.
DLLFunction cmlabs::DynamicLoader::getFunction | ( | JString | libname, | |
JString | funcname | |||
) |
Definition at line 351 of file DynamicLoader.cpp.
DLLFunction cmlabs::DynamicLoader::getFunction | ( | JString | funcname | ) |
Definition at line 369 of file DynamicLoader.cpp.
DLLFunction cmlabs::DynamicLoader::getFunction | ( | DLLHandle | handle, | |
JString | funcname | |||
) |
Definition at line 199 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::checkLibraryVersion | ( | const JString & | libname | ) |
Definition at line 316 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::didErrorHappen | ( | ) |
Definition at line 238 of file DynamicLoader.cpp.
JString cmlabs::DynamicLoader::getLastErrorMessage | ( | ) |
Definition at line 242 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::setTestLib | ( | JString | lib | ) |
Definition at line 415 of file DynamicLoader.cpp.
bool cmlabs::DynamicLoader::unitTest | ( | ) | [virtual] |
ObjectDictionary cmlabs::DynamicLoader::libHandles [protected] |
Definition at line 92 of file DynamicLoader.h.
JString cmlabs::DynamicLoader::lastErrorMessage [protected] |
Definition at line 93 of file DynamicLoader.h.
JString cmlabs::DynamicLoader::testlib [protected] |
Definition at line 94 of file DynamicLoader.h.
JMutex cmlabs::DynamicLoader::libMutex [protected] |
Definition at line 95 of file DynamicLoader.h.