Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IDynamicLibrary Class Referenceabstract

Interface of a dynamic library. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/base/arccore/base/internal/IDynamicLibraryLoader.h>

Inheritance diagram for Arcane::IDynamicLibrary:
Collaboration diagram for Arcane::IDynamicLibrary:

Public Member Functions

virtual ~IDynamicLibrary ()=default
 Releases resources.
virtual void close ()=0
 Closes the dynamic library.
virtual void * getSymbolAddress (const String &symbol_name, bool *is_found)=0
 Returns the address of the symbol named symbol_name.

Detailed Description

Interface of a dynamic library.

Definition at line 31 of file IDynamicLibraryLoader.h.

Member Function Documentation

◆ close()

virtual void Arcane::IDynamicLibrary::close ( )
pure virtual

Closes the dynamic library.

It should no longer be used after closing and the instance can be destroyed via the delete operator.

Implemented in Arcane::GlibDynamicLibrary.

◆ getSymbolAddress()

virtual void * Arcane::IDynamicLibrary::getSymbolAddress ( const String & symbol_name,
bool * is_found )
pure virtual

Returns the address of the symbol named symbol_name.

If is_found is not null, it returns the boolean indicating whether the symbol was found.

Implemented in Arcane::GlibDynamicLibrary.

Referenced by Arcane::Accelerator::Impl::RuntimeLoader::loadRuntime().

Here is the caller graph for this function:

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