OW_NAMESPACE::dlSharedLibraryLoader Class Reference

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

#include <OW_dlSharedLibraryLoader.hpp>

Inheritance diagram for OW_NAMESPACE::dlSharedLibraryLoader:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::dlSharedLibraryLoader:

Collaboration graph
[legend]
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 55 of file OW_dlSharedLibraryLoader.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::dlSharedLibraryLoader::~dlSharedLibraryLoader  )  [virtual]
 

Definition at line 107 of file OW_dlSharedLibraryLoader.cpp.


Member Function Documentation

SharedLibraryRef OW_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 OW_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, OW_LOG_ERROR(logger, ) will be passed a description.
Returns:
SharedLibraryRef owning representing the shared library identified by filename. NULL on failure.

Implements OW_NAMESPACE::SharedLibraryLoader.

Definition at line 47 of file OW_dlSharedLibraryLoader.cpp.

References OW_NAMESPACE::String::c_str(), OW_NAMESPACE::String::empty(), OW_NAMESPACE::dlSharedLibrary::isFakeLibrary(), logger, and OW_LOG_ERROR.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:13:41 2006 for openwbem by  doxygen 1.4.6