Kanzi 3.9.10
kanzi::PosixDynamicLibrary Class Reference

POSIX dynamic library. More...

#include <kanzi/core.ui/platform/windowing_ng/posix/posix_dynamic_library.hpp>

Public Member Functions

KZ_NO_DISCARD voidgetProcAddress (const string &procName) const noexcept
 Gets the procedure address of a dynamically loaded function.
 
 PosixDynamicLibrary ()=default
 Default constructor. No library loaded by default.
 
 PosixDynamicLibrary (const string &libraryPath)
 Constructor.
 
 PosixDynamicLibrary (void *handle)
 Constructor.
 
 ~PosixDynamicLibrary ()
 Destructor.
 

Detailed Description

POSIX dynamic library.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

◆ PosixDynamicLibrary() [1/3]

kanzi::PosixDynamicLibrary::PosixDynamicLibrary ( )
explicitdefault

Default constructor. No library loaded by default.

◆ PosixDynamicLibrary() [2/3]

kanzi::PosixDynamicLibrary::PosixDynamicLibrary ( const string & libraryPath)
explicit

Constructor.

Parameters
libraryPathThe path to the library to load.

◆ PosixDynamicLibrary() [3/3]

kanzi::PosixDynamicLibrary::PosixDynamicLibrary ( void * handle)
explicit

Constructor.

Parameters
handleNative library module handle.

◆ ~PosixDynamicLibrary()

kanzi::PosixDynamicLibrary::~PosixDynamicLibrary ( )

Destructor.

Member Function Documentation

◆ getProcAddress()

KZ_NO_DISCARD void * kanzi::PosixDynamicLibrary::getProcAddress ( const string & procName) const
noexcept

Gets the procedure address of a dynamically loaded function.

Parameters
procNameName of the dynamically loaded function.
Returns
Procedure address of the dynamically loaded function.

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