qpid::sys::Shlib Class Reference

Encapsulates a shared library handle. More...

#include <Shlib.h>

Inheritance diagram for qpid::sys::Shlib:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Shlib (const char *libname)
 Load a shared library.
 Shlib (const std::string &libname)
 Load a shared library.
void unload ()
 Unload shared library.
void * getSymbol (const char *symbol)
 Look up symbol.
template<class T>
getSymbol (const char *symbol)
 Look up symbol in shared library, cast it to the desired pointer type, void* by default.


Detailed Description

Encapsulates a shared library handle.

See also:
AutoShlib

Member Function Documentation

void qpid::sys::Shlib::unload (  ) 

Unload shared library.

void* qpid::sys::Shlib::getSymbol ( const char *  symbol  ) 

Look up symbol.

Referenced by getSymbol().


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

Generated on Thu May 15 22:24:59 2008 for Qpid by  doxygen 1.5.5