loading of a library at runtime
More...
#include <IpLibraryLoader.hpp>
loading of a library at runtime
wrapper around dlopen()/dlsym() and variants
- Since
- 3.14.0
Definition at line 27 of file IpLibraryLoader.hpp.
◆ LibraryLoader() [1/2]
unimplemented copy constructor
◆ LibraryLoader() [2/2]
Ipopt::LibraryLoader::LibraryLoader |
( |
const std::string & |
libname_ | ) |
|
|
inline |
constructor
- Parameters
-
libname_ | full name of library, can include path |
Definition at line 40 of file IpLibraryLoader.hpp.
◆ ~LibraryLoader()
Ipopt::LibraryLoader::~LibraryLoader |
( |
| ) |
|
|
inline |
◆ operator=()
unimplemented assigment operator
◆ loadLibrary()
void Ipopt::LibraryLoader::loadLibrary |
( |
| ) |
|
◆ unloadLibrary()
void Ipopt::LibraryLoader::unloadLibrary |
( |
| ) |
|
unload library, if loaded
◆ loadSymbol()
void* Ipopt::LibraryLoader::loadSymbol |
( |
const std::string & |
symbolname | ) |
|
tries to load symbol
calls loadLibrary() if no library loaded yet
- Parameters
-
symbolname | base name of symbol |
◆ libname
std::string Ipopt::LibraryLoader::libname |
|
private |
◆ libhandle
void* Ipopt::LibraryLoader::libhandle |
|
private |
The documentation for this class was generated from the following file: