Kanzi  3.9.8
Kanzi Engine C++ API
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. More...
 
 PosixDynamicLibrary ()=default
 Default constructor. No library loaded by default. More...
 
 PosixDynamicLibrary (const string &libraryPath)
 Constructor. More...
 
 PosixDynamicLibrary (void *handle)
 Constructor. More...
 
 ~PosixDynamicLibrary ()
 Destructor. More...
 

Detailed Description

POSIX dynamic library.

Since
Kanzi 3.9.8

Constructor & Destructor Documentation

kanzi::PosixDynamicLibrary::PosixDynamicLibrary ( )
explicitdefault

Default constructor. No library loaded by default.

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

Constructor.

Parameters
libraryPathThe path to the library to load.
kanzi::PosixDynamicLibrary::PosixDynamicLibrary ( void handle)
explicit

Constructor.

Parameters
handleNative library module handle.
kanzi::PosixDynamicLibrary::~PosixDynamicLibrary ( )

Destructor.

Member Function Documentation

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: