sipxportlib  Version 3.3
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
OsSharedLibMgrBase Class Referenceabstract

#include <OsSharedLibMgr.h>

Inheritance diagram for OsSharedLibMgrBase:
Inheritance graph
[legend]
Collaboration diagram for OsSharedLibMgrBase:
Collaboration graph
[legend]

Public Member Functions

virtual ~OsSharedLibMgrBase ()
 
virtual OsStatus loadSharedLib (const char *libName)=0
 
virtual OsStatus getSharedLibSymbol (const char *libName, const char *symbolName, void *&symbolAddress)=0
 param: libName - name of library, may include absolute or relative path More...
 
virtual OsStatus unloadSharedLib (const char *libName)=0
 param: (in) libName - name of library, may include absolute or relative path param: (in) symbolName - name of the variable or function exported in the shared lib param: (out) symbolAddress - the address of the function or variable More...
 

Static Public Member Functions

static OsSharedLibMgrBasegetOsSharedLibMgr ()
 

Protected Member Functions

 OsSharedLibMgrBase ()
 param: libName - name of library, may include absolute or relative path More...
 

Protected Attributes

UtlHashBag mLibraryHandles
 

Static Protected Attributes

static OsSharedLibMgrBasespInstance = 0
 
static OsBSem sLock
 

Constructor & Destructor Documentation

~OsSharedLibMgrBase ( )
virtual
OsSharedLibMgrBase ( )
protected

param: libName - name of library, may include absolute or relative path

Member Function Documentation

OsSharedLibMgrBase * getOsSharedLibMgr ( )
static
virtual OsStatus loadSharedLib ( const char *  libName)
pure virtual

Implemented in OsSharedLibMgrWnt, and OsSharedLibMgrLinux.

virtual OsStatus getSharedLibSymbol ( const char *  libName,
const char *  symbolName,
void *&  symbolAddress 
)
pure virtual

param: libName - name of library, may include absolute or relative path

Implemented in OsSharedLibMgrWnt, and OsSharedLibMgrLinux.

virtual OsStatus unloadSharedLib ( const char *  libName)
pure virtual

param: (in) libName - name of library, may include absolute or relative path param: (in) symbolName - name of the variable or function exported in the shared lib param: (out) symbolAddress - the address of the function or variable

Implemented in OsSharedLibMgrWnt, and OsSharedLibMgrLinux.

Member Data Documentation

OsSharedLibMgrBase * spInstance = 0
staticprotected
OsBSem sLock
staticprotected
UtlHashBag mLibraryHandles
protected