Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::GlibDynamicLibrary Class Reference
Inheritance diagram for Arcane::GlibDynamicLibrary:
Collaboration diagram for Arcane::GlibDynamicLibrary:

Public Member Functions

 GlibDynamicLibrary (GlibDynamicLibraryLoader *mng, GModule *gmodule)
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

GlibDynamicLibraryLoaderm_manager = nullptr
GModule * m_gmodule = nullptr

Detailed Description

Definition at line 36 of file GlibDynamicLibraryLoader.cc.

Constructor & Destructor Documentation

◆ GlibDynamicLibrary()

Arcane::GlibDynamicLibrary::GlibDynamicLibrary ( GlibDynamicLibraryLoader * mng,
GModule * gmodule )
inline

Definition at line 41 of file GlibDynamicLibraryLoader.cc.

Member Function Documentation

◆ close()

void Arcane::GlibDynamicLibrary::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 159 of file GlibDynamicLibraryLoader.cc.

◆ getSymbolAddress()

void * Arcane::GlibDynamicLibrary::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 174 of file GlibDynamicLibraryLoader.cc.

References Arcane::String::utf8().

Here is the call graph for this function:

Member Data Documentation

◆ m_gmodule

GModule* Arcane::GlibDynamicLibrary::m_gmodule = nullptr
private

Definition at line 54 of file GlibDynamicLibraryLoader.cc.

◆ m_manager

GlibDynamicLibraryLoader* Arcane::GlibDynamicLibrary::m_manager = nullptr
private

Definition at line 53 of file GlibDynamicLibraryLoader.cc.


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