Public Member Functions | Static Public Member Functions | List of all members
Celartem::ModuleDynamicLoader Class Referenceabstract

#include <cel_dynload.h>

Inheritance diagram for Celartem::ModuleDynamicLoader:
Inheritance graph
[legend]

Public Member Functions

virtual void * getSymbolAddress (const String &inSymbolName)=0
 
- Public Member Functions inherited from Celartem::Referable
 Referable ()
 
void addRef () const
 
void releaseRef () const
 
size_t getReferenceCount () const
 

Static Public Member Functions

static AutoPtr
< ModuleDynamicLoader
create (const String &inModuleName)
 
- Static Public Member Functions inherited from Celartem::Referable
static void dumpDbgAllRefCount ()
 

Detailed Description

This class is used to load a dynamic-link module.
This class internally calls functions such as LoadLibrary or dlopen.

Member Function Documentation

static AutoPtr<ModuleDynamicLoader> Celartem::ModuleDynamicLoader::create ( const String inModuleName)
static

This method initializes a new instance by loading the specified module.

Parameters
inModuleNameName of the module to load.
Returns
Pointer to the newly created instance.
virtual void* Celartem::ModuleDynamicLoader::getSymbolAddress ( const String inSymbolName)
pure virtual

This method returns the address of the specified symbol.

Parameters
inSymbolNameName of the symbol (function).
Returns
Pointer to the symbol if success; otherwise NULL.

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo