cmlabs::DynamicLoader Class Reference

#include <DynamicLoader.h>

Inheritance diagram for cmlabs::DynamicLoader:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::DynamicLoader:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DynamicLoader ()
virtual ~DynamicLoader ()
Objectclone () 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


Detailed Description

Definition at line 63 of file DynamicLoader.h.


Constructor & Destructor Documentation

cmlabs::DynamicLoader::DynamicLoader (  ) 

Definition at line 33 of file DynamicLoader.cpp.

cmlabs::DynamicLoader::~DynamicLoader (  )  [virtual]

Definition at line 37 of file DynamicLoader.cpp.


Member Function Documentation

Object* cmlabs::DynamicLoader::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 69 of file DynamicLoader.h.

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]

Reimplemented from cmlabs::Object.

Definition at line 420 of file DynamicLoader.cpp.


Member Data Documentation

Definition at line 92 of file DynamicLoader.h.

Definition at line 93 of file DynamicLoader.h.

Definition at line 94 of file DynamicLoader.h.

Definition at line 95 of file DynamicLoader.h.


The documentation for this class was generated from the following files:

Generated on Tue Jul 7 16:22:40 2009 for CoreLibrary by  doxygen 1.5.6