19 #ifndef COIL_DYNAMICLIB_H    20 #define COIL_DYNAMICLIB_H    26 #define COIL_DEFAULT_DYNLIB_MODE RTLD_LAZY    71     DynamicLib(
int close_handle_on_destruction = 1);
    98                int close_handle_on_destruction = 1);
   190     virtual int open(
const char* dll_name,
   192                      int close_handle_on_destruction = 1);
   213     virtual int close(
void);
   238     void *
symbol (
const char* symbol_name);
   259     const char* 
error(
void) 
const;
   292 #endif // DynamicLib_h static int ForExternTest(void)
Unit Test. 
Definition: DynamicLib.h:280
 
void * symbol(const char *symbol_name)
Return an address of the memory where a symbol was loaded. 
 
const char * error(void) const 
Return the explanation message about the error. 
 
virtual ~DynamicLib()
Destructor. 
 
DynamicLib(int close_handle_on_destruction=1)
Constructor. 
 
DynamicLib class. 
Definition: DynamicLib.h:48
 
virtual int open(const char *dll_name, int open_mode=COIL_DEFAULT_DYNLIB_MODE, int close_handle_on_destruction=1)
Load of the Dynamic link library. 
 
#define COIL_DEFAULT_DYNLIB_MODE
Definition: DynamicLib.h:26
 
virtual int close(void)
Unload of the Dynamic link library. 
 
DynamicLib & operator=(const DynamicLib &rhs)
Assignment operator. 
 
Common Object Interface Layer. 
Definition: Affinity.h:28