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
 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 58 of file dlSharedLibraryLoader.hpp.


Constructor & Destructor Documentation

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

Definition at line 115 of file dlSharedLibraryLoader.cpp.


Member Function Documentation

SharedLibraryRef BLOCXX_NAMESPACE::dlSharedLibraryLoader::loadSharedLibrary ( const String filename  )  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.
Returns:
SharedLibraryRef owning representing the shared library identified by filename. NULL on failure.

Implements BLOCXX_NAMESPACE::SharedLibraryLoader.

Definition at line 55 of file dlSharedLibraryLoader.cpp.

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


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

Generated on Wed Feb 25 19:05:04 2009 for blocxx by  doxygen 1.5.6