Interface of a dynamic library loader. More...
Public Member Functions | |
| virtual | ~IDynamicLibraryLoader ()=default |
| Releases resources. | |
| virtual void | build ()=0 |
| virtual IDynamicLibrary * | open (const String &directory, const String &name)=0 |
| Loads a dynamic library. | |
| virtual void | closeLibraries ()=0 |
| Closes all libraries opened via open(). | |
Static Public Member Functions | |
| static IDynamicLibraryLoader * | getDefault () |
| Service used for dynamically loading libraries. | |
|
pure virtual |
Closes all libraries opened via open().
Implemented in Arcane::GlibDynamicLibraryLoader.
References getDefault().
|
static |
Service used for dynamically loading libraries.
Definition at line 208 of file GlibDynamicLibraryLoader.cc.
Referenced by Arcane::ArcaneMain::arcaneFinalize(), Arcane::Application::build(), closeLibraries(), and Arcane::Accelerator::Impl::RuntimeLoader::loadRuntime().
|
pure virtual |
Loads a dynamic library.
Loads the library named name which is located in the directory directory. Returns a null pointer if the library cannot be loaded. name must be a name without prefix and without machine-dependent extension. For example, on linux, if the library is libtoto.so, name must be toto.
Implemented in Arcane::GlibDynamicLibraryLoader.
Referenced by Arcane::Application::build().