BLOCXX_NAMESPACE::dlSharedLibraryLoader Class Reference

dlSharedLibraryLoader is the class for loading shared libraries on systems with the dl functions. More...

#include <dlSharedLibraryLoader.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::dlSharedLibraryLoader:

BLOCXX_NAMESPACE::SharedLibraryLoader BLOCXX_NAMESPACE::IntrusiveCountableBase List of all members.

Public Member Functions

virtual ~dlSharedLibraryLoader ()
virtual SharedLibraryRef loadSharedLibrary (const String &filename, const LoggerRef &logger) const
 Load a shared library specified by filename.

Detailed Description

dlSharedLibraryLoader is the class for loading shared libraries on systems with the dl functions.

Invariants: None, the class has no state. Thread safety: read/write Copy semantics: Value Exception safety: Strong

Definition at line 57 of file dlSharedLibraryLoader.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::dlSharedLibraryLoader::~dlSharedLibraryLoader  )  [virtual]
 

Definition at line 109 of file dlSharedLibraryLoader.cpp.


Member Function Documentation

SharedLibraryRef BLOCXX_NAMESPACE::dlSharedLibraryLoader::loadSharedLibrary const String filename,
const LoggerRef logger
const [virtual]
 

Load a shared library specified by filename.

If the operation fails, the return value will be null ref counted pointer, and BLOCXX_LOG_ERROR(logger, ) will be called to report the details of the error. Exception safety: Strong

Parameters:
filename The name of the shared library to load.
logger If an error occurs, BLOCXX_LOG_ERROR(logger, ) will be passed a description.
Returns:
SharedLibraryRef owning representing the shared library identified by filename. NULL on failure.

Implements BLOCXX_NAMESPACE::SharedLibraryLoader.

Definition at line 49 of file dlSharedLibraryLoader.cpp.

References BLOCXX_LOG_ERROR, BLOCXX_NAMESPACE::String::c_str(), BLOCXX_NAMESPACE::String::empty(), and BLOCXX_NAMESPACE::dlSharedLibrary::isFakeLibrary().


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 15:39:10 2006 for blocxx by  doxygen 1.4.6