CLAM-Development  1.1
Public Member Functions | Static Public Member Functions | Protected Member Functions
RunTimeLibraryLoader Class Reference

#include <RunTimeLibraryLoader.hxx>

List of all members.

Public Member Functions

virtual ~RunTimeLibraryLoader ()
virtual void Load () const
virtual void ReLoad ()
const std::string CompletePathFor (const std::string &subpathAndName) const

Static Public Member Functions

static void * FullyLoadLibrary (const std::string &libraryPath)
static void * LazyLoadLibrary (const std::string &libraryPath)
static bool ReleaseLibraryHandler (void *handle, const std::string pluginFullFilename="")
static const std::string LibraryLoadError ()
static const std::string FileOfSymbol (void *symbolAddress)

Protected Member Functions

void LoadLibrariesFromPath (const std::string &path) const
std::vector< std::string > SplitPathVariable (const std::string &pathVariable) const
void * GetLibraryHandler (const std::string &libraryPath) const
const char * pathSeparator () const
virtual const char ** standardPaths () const =0
virtual const char * homePath () const =0
virtual const char * pathEnvironmentVar () const =0
virtual const char * libraryType () const =0
virtual const bool needReleaseHandlerOnReload () const =0
virtual void SetupLibrary (void *handle, const std::string &pluginFullFilename) const
const std::string getPathFromFullFileName (const std::string &fullFileNameConst) const
bool IsOnPath (const std::string &path) const
virtual const std::list
< std::string > 
GetUsedLibraries ()

Detailed Description

Definition at line 10 of file RunTimeLibraryLoader.hxx.


Constructor & Destructor Documentation

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

Definition at line 14 of file RunTimeLibraryLoader.hxx.


Member Function Documentation

const std::string RunTimeLibraryLoader::CompletePathFor ( const std::string &  subpathAndName) const
const std::string RunTimeLibraryLoader::FileOfSymbol ( void *  symbolAddress) [static]
void * RunTimeLibraryLoader::FullyLoadLibrary ( const std::string &  libraryPath) [static]

Definition at line 113 of file RunTimeLibraryLoader.cxx.

Referenced by LoadLibrariesFromPath().

void * RunTimeLibraryLoader::GetLibraryHandler ( const std::string &  libraryPath) const [protected]

Definition at line 138 of file RunTimeLibraryLoader.cxx.

Referenced by ReLoad().

const std::string RunTimeLibraryLoader::getPathFromFullFileName ( const std::string &  fullFileNameConst) const [inline, protected]

Definition at line 47 of file RunTimeLibraryLoader.hxx.

Referenced by GetUsedLibraries().

const std::list< std::string > RunTimeLibraryLoader::GetUsedLibraries ( ) [protected, virtual]
virtual const char* RunTimeLibraryLoader::homePath ( ) const [protected, pure virtual]
bool RunTimeLibraryLoader::IsOnPath ( const std::string &  path) const [protected]

Definition at line 58 of file RunTimeLibraryLoader.cxx.

References SplitPathVariable().

Referenced by GetUsedLibraries().

void * RunTimeLibraryLoader::LazyLoadLibrary ( const std::string &  libraryPath) [static]

Definition at line 126 of file RunTimeLibraryLoader.cxx.

const std::string RunTimeLibraryLoader::LibraryLoadError ( ) [static]
virtual const char* RunTimeLibraryLoader::libraryType ( ) const [protected, pure virtual]
void RunTimeLibraryLoader::Load ( ) const [virtual]

Reimplemented in RunTimeFaustLibraryLoader.

Definition at line 81 of file RunTimeLibraryLoader.cxx.

References LoadLibrariesFromPath(), and SplitPathVariable().

Referenced by ReLoad().

void RunTimeLibraryLoader::LoadLibrariesFromPath ( const std::string &  path) const [protected]
virtual const bool RunTimeLibraryLoader::needReleaseHandlerOnReload ( ) const [protected, pure virtual]

Implemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.

Referenced by ReLoad().

virtual const char* RunTimeLibraryLoader::pathEnvironmentVar ( ) const [protected, pure virtual]
const char* RunTimeLibraryLoader::pathSeparator ( ) const [inline, protected]

Definition at line 31 of file RunTimeLibraryLoader.hxx.

Referenced by SplitPathVariable().

bool RunTimeLibraryLoader::ReleaseLibraryHandler ( void *  handle,
const std::string  pluginFullFilename = "" 
) [static]
void RunTimeLibraryLoader::ReLoad ( ) [virtual]
virtual void RunTimeLibraryLoader::SetupLibrary ( void *  handle,
const std::string &  pluginFullFilename 
) const [inline, protected, virtual]

Reimplemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.

Definition at line 46 of file RunTimeLibraryLoader.hxx.

Referenced by LoadLibrariesFromPath().

std::vector< std::string > RunTimeLibraryLoader::SplitPathVariable ( const std::string &  pathVariable) const [protected]

Definition at line 181 of file RunTimeLibraryLoader.cxx.

References pathSeparator().

Referenced by CompletePathFor(), IsOnPath(), and Load().

virtual const char** RunTimeLibraryLoader::standardPaths ( ) const [protected, pure virtual]

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