Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::NativeLoading::NativeLibrary Class Reference
Inheritance diagram for Arcane::NativeLoading::NativeLibrary:
Collaboration diagram for Arcane::NativeLoading::NativeLibrary:

Public Member Functions

 NativeLibrary (NativeLoader *manager, NativeHandle handle)
void close () override
 Closes the dynamic library.
void * getSymbolAddress (const String &symbol_name, bool *is_found) override
 Returns the address of the symbol named symbol_name.
Public Member Functions inherited from Arcane::IDynamicLibrary
virtual ~IDynamicLibrary ()=default
 Releases resources.

Private Attributes

NativeLoader * m_manager
NativeHandle m_handle

Detailed Description

Definition at line 150 of file NativeDynamicLibraryLoader.cc.

Constructor & Destructor Documentation

◆ NativeLibrary()

Arcane::NativeLoading::NativeLibrary::NativeLibrary ( NativeLoader * manager,
NativeHandle handle )
inline

Definition at line 155 of file NativeDynamicLibraryLoader.cc.

Member Function Documentation

◆ close()

void Arcane::NativeLoading::NativeLibrary::close ( )
overridevirtual

Closes the dynamic library.

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

Implements Arcane::IDynamicLibrary.

Definition at line 238 of file NativeDynamicLibraryLoader.cc.

◆ getSymbolAddress()

void * Arcane::NativeLoading::NativeLibrary::getSymbolAddress ( const String & symbol_name,
bool * is_found )
overridevirtual

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.

Implements Arcane::IDynamicLibrary.

Definition at line 257 of file NativeDynamicLibraryLoader.cc.

Member Data Documentation

◆ m_handle

NativeHandle Arcane::NativeLoading::NativeLibrary::m_handle
private

Definition at line 165 of file NativeDynamicLibraryLoader.cc.

◆ m_manager

NativeLoader* Arcane::NativeLoading::NativeLibrary::m_manager
private

Definition at line 164 of file NativeDynamicLibraryLoader.cc.


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