IgANet
IGAnets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet::DLHandler Class Reference

Dynamic library handler. More...

#include </home/runner/work/iganet/iganet/include/iganet/utils/dlloader.hpp>

Public Member Functions

 DLHandler ()=delete
 Default constructor deleted.
 
 DLHandler (const DLHandler &)=delete
 
 DLHandler (DLHandler &&)=delete
 
void * getSymbol (const char *name) const
 Gets symbol from dynamic library.
 
 operator bool () const
 Checks if handle is assigned.
 

Detailed Description

Dynamic library handler.

This class implements the dynamic library handler.

Constructor & Destructor Documentation

◆ DLHandler() [1/6]

iganet::DLHandler::DLHandler ( )
delete

Default constructor deleted.

◆ DLHandler() [2/6]

iganet::DLHandler::DLHandler ( DLHandler &&  )
delete

◆ DLHandler() [3/6]

iganet::DLHandler::DLHandler ( const DLHandler )
delete

◆ DLHandler() [4/6]

iganet::DLHandler::DLHandler ( const char *  filename,
int  flags = RTLD_NOW 
)
inlineexplicit

Constructor from file.

Parameters
filenamePath of the file to process.
flagsValue of flags.

◆ DLHandler() [5/6]

iganet::DLHandler::DLHandler ( const std::string &  filename,
int  flags = RTLD_NOW 
)
inlineexplicit

Provides the DLHandler operation.

Parameters
filenamePath of the file to process.
flagsValue of flags.

◆ DLHandler() [6/6]

iganet::DLHandler::DLHandler ( const std::filesystem::path &  filename,
int  flags = RTLD_NOW 
)
inlineexplicit

Provides the DLHandler operation.

Parameters
filenamePath of the file to process.
flagsValue of flags.

Member Function Documentation

◆ getSymbol()

void * iganet::DLHandler::getSymbol ( const char *  name) const
inline

Gets symbol from dynamic library.

Parameters
nameValue of name.
Returns
Result of the operation.

◆ operator bool()

iganet::DLHandler::operator bool ( ) const
inline

Checks if handle is assigned.


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