Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

xmog_sharedlib Class Reference

A wrapper around shared libraries. More...

#include <xmog_sharedlib.h>

List of all members.

Public Member Functions

 ~xmog_sharedlib ()
 Cleans up behind the instance.
void * resolveSymbol (const char *symbol)
 Attempts to resolve a symbol in the shared library.

Static Public Member Functions

static xmog_sharedlibresolve (const char *file)
 Returns an instance that represents the specified file or NULL if it cannot be resolved.
static xmog_sharedlibgetRuntimeLib ()
 Returns an instance that represents the module in which this method resides (typically the runtime library).
static xmog_sharedlibgetCallingProcess ()
 Returns an instance that represents the calling process.


Detailed Description

A wrapper around shared libraries.

This class can be used to resolve symbols in dynamically loaded modules.


Member Function Documentation

static xmog_sharedlib* xmog_sharedlib::resolve const char *  file  )  [static]
 

Returns an instance that represents the specified file or NULL if it cannot be resolved.

Parameters:
file the file we're trying to resolve.

void* xmog_sharedlib::resolveSymbol const char *  symbol  ) 
 

Attempts to resolve a symbol in the shared library.

Parameters:
symbol the name of the symbol we're looking up.


The documentation for this class was generated from the following file:
Generated on Wed May 31 14:01:35 2006 for Shared Codemesh Runtime Library API Reference by  doxygen 1.4.1