CLAM-Development
1.4.0
|
#include <RunTimeLibraryLoader.hxx>
Public Member Functions | |
virtual | ~RunTimeLibraryLoader () |
void | Load () const |
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) |
static void * | GetSymbol (void *libraryHandler, const std::string &symbolName) |
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 std::list< std::string > | GetUsedLibraries () |
Definition at line 10 of file RunTimeLibraryLoader.hxx.
|
inlinevirtual |
Definition at line 14 of file RunTimeLibraryLoader.hxx.
const std::string RunTimeLibraryLoader::CompletePathFor | ( | const std::string & | subpathAndName | ) | const |
Definition at line 241 of file RunTimeLibraryLoader.cxx.
References SplitPathVariable().
Referenced by RunTimeFaustLibraryLoader::Load(), and RunTimeFaustLibraryLoader::SetupLibrary().
|
static |
Definition at line 186 of file RunTimeLibraryLoader.cxx.
Referenced by CLAM::FactoryRegistrator< TheFactoryType, ConcreteProductType >::FactoryRegistrator().
|
static |
Definition at line 109 of file RunTimeLibraryLoader.cxx.
Referenced by LoadLibrariesFromPath().
|
protected |
Definition at line 142 of file RunTimeLibraryLoader.cxx.
Referenced by ReLoad().
|
inlineprotected |
Definition at line 48 of file RunTimeLibraryLoader.hxx.
Referenced by GetUsedLibraries().
|
static |
Definition at line 132 of file RunTimeLibraryLoader.cxx.
Referenced by RunTimeLadspaLibraryLoader::SetupLibrary(), and RunTimeFaustLibraryLoader::SetupLibrary().
|
protectedvirtual |
Reimplemented in RunTimeFaustLibraryLoader.
Definition at line 44 of file RunTimeLibraryLoader.cxx.
References CLAM::ProcessingFactory::GetInstance(), getPathFromFullFileName(), CLAM::Factory< AbstractProductType >::GetSetOfValues(), and IsOnPath().
Referenced by ReLoad().
|
protectedpure virtual |
Implemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.
|
protected |
Definition at line 59 of file RunTimeLibraryLoader.cxx.
References SplitPathVariable().
Referenced by GetUsedLibraries().
|
static |
Definition at line 121 of file RunTimeLibraryLoader.cxx.
|
static |
Definition at line 167 of file RunTimeLibraryLoader.cxx.
References NULL.
Referenced by LoadLibrariesFromPath(), RunTimeLadspaLibraryLoader::SetupLibrary(), and RunTimeFaustLibraryLoader::SetupLibrary().
|
protectedpure virtual |
Implemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.
void RunTimeLibraryLoader::Load | ( | ) | const |
Reimplemented in RunTimeFaustLibraryLoader.
Definition at line 71 of file RunTimeLibraryLoader.cxx.
References debug, LoadLibrariesFromPath(), and SplitPathVariable().
Referenced by ReLoad().
|
protected |
Definition at line 82 of file RunTimeLibraryLoader.cxx.
References debug, FullyLoadLibrary(), LibraryLoadError(), NULL, and SetupLibrary().
Referenced by Load(), RunTimeFaustLibraryLoader::Load(), and RunTimeFaustLibraryLoader::LoadPlugin().
|
protectedpure virtual |
Implemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.
Referenced by ReLoad().
|
protectedpure virtual |
Implemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.
|
inlineprotected |
Definition at line 32 of file RunTimeLibraryLoader.hxx.
Referenced by SplitPathVariable().
|
static |
Definition at line 153 of file RunTimeLibraryLoader.cxx.
Referenced by ReLoad(), RunTimeLadspaLibraryLoader::SetupLibrary(), and RunTimeFaustLibraryLoader::SetupLibrary().
void RunTimeLibraryLoader::ReLoad | ( | ) |
Definition at line 19 of file RunTimeLibraryLoader.cxx.
References CLAM::Factory< AbstractProductType >::DeleteCreator(), CLAM::ProcessingFactory::GetInstance(), CLAM::Factory< AbstractProductType >::GetKeys(), GetLibraryHandler(), GetUsedLibraries(), Load(), needReleaseHandlerOnReload(), and ReleaseLibraryHandler().
|
inlineprotectedvirtual |
Reimplemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.
Definition at line 47 of file RunTimeLibraryLoader.hxx.
Referenced by LoadLibrariesFromPath().
|
protected |
Definition at line 207 of file RunTimeLibraryLoader.cxx.
References pathSeparator().
Referenced by CompletePathFor(), IsOnPath(), and Load().
|
protectedpure virtual |
Implemented in RunTimeFaustLibraryLoader, and RunTimeLadspaLibraryLoader.