SharedLibraryPlatformPosix Class Reference

POSIX-compliant dl* interface (dlopen, dlsym, dlclose, dlerror...). More...

#include <SharedLibraryPlatform.h>

Inheritance diagram for SharedLibraryPlatformPosix:

SharedLibraryPlatform

List of all members.

Public Member Functions

Constructors
 SharedLibraryPlatformPosix ()
virtual ~SharedLibraryPlatformPosix ()
Main usage interface
virtual SharedLibraryHandleload (const std::string &name, int openFlags=0)
 Wrapper around dlopen.
virtual bool unload (SharedLibraryHandle *handle)
 Wrapper around dlclose.
Accessors
virtual void * getSymbol (SharedLibraryHandle *handle, const std::string &symbol)
 Wrapper around dlsym.
virtual std::string getLastError ()
 Wrapper around dlerror.


Detailed Description

POSIX-compliant dl* interface (dlopen, dlsym, dlclose, dlerror...).

Note:
Meant for use on UNIX derivatives

Definition at line 84 of file SharedLibraryPlatform.h.


Constructor & Destructor Documentation

SharedLibraryPlatformPosix::SharedLibraryPlatformPosix (  )  [inline]

Definition at line 89 of file SharedLibraryPlatform.h.

virtual SharedLibraryPlatformPosix::~SharedLibraryPlatformPosix (  )  [inline, virtual]

Definition at line 92 of file SharedLibraryPlatform.h.


Member Function Documentation

SharedLibraryHandle * SharedLibraryPlatformPosix::load ( const std::string &  name,
int  openFlags = 0 
) [virtual]

Wrapper around dlopen.

Implements SharedLibraryPlatform.

Definition at line 15 of file SharedLibraryPlatform.cpp.

bool SharedLibraryPlatformPosix::unload ( SharedLibraryHandle handle  )  [virtual]

Wrapper around dlclose.

Implements SharedLibraryPlatform.

Definition at line 24 of file SharedLibraryPlatform.cpp.

void * SharedLibraryPlatformPosix::getSymbol ( SharedLibraryHandle handle,
const std::string &  symbol 
) [virtual]

Wrapper around dlsym.

Implements SharedLibraryPlatform.

Definition at line 34 of file SharedLibraryPlatform.cpp.

std::string SharedLibraryPlatformPosix::getLastError (  )  [virtual]

Wrapper around dlerror.

Implements SharedLibraryPlatform.

Definition at line 42 of file SharedLibraryPlatform.cpp.


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

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6