Loader for DynamicLibrary.
More...
#include <dynamic_loader.h>
Loader for DynamicLibrary.
◆ DynamicLoader() [1/2]
mysql_harness::DynamicLoader::DynamicLoader |
( |
| ) |
|
|
inline |
◆ DynamicLoader() [2/2]
mysql_harness::DynamicLoader::DynamicLoader |
( |
std::string |
search_path | ) |
|
|
inlineexplicit |
construct DynamicLoader with search_path.
◆ error_msg()
std::string mysql_harness::DynamicLoader::error_msg |
( |
| ) |
const |
|
inline |
get error message if load() failed with DynamicLoaderErrc::DlError.
◆ load()
load a shared library from path.
- Parameters
-
name | library name without suffix |
- Returns
- DynamicLibrary on success, std::error_code on failure
◆ search_path()
std::string mysql_harness::DynamicLoader::search_path |
( |
| ) |
const |
|
inline |
◆ error_msg_
std::string mysql_harness::DynamicLoader::error_msg_ |
|
mutableprivate |
◆ search_path_
std::string mysql_harness::DynamicLoader::search_path_ |
|
private |
The documentation for this class was generated from the following files: