#include <dynamic.h>
The DLLManager class is able to load a module file by filename, and locate its init_module symbol.
◆ DLLManager()
DLLManager::DLLManager |
( |
const char * |
fname | ) |
|
This constructor loads the module using dlopen()
- Parameters
-
fname | The filename to load. This should be within the modules dir. |
◆ CallInit()
Module * DLLManager::CallInit |
( |
| ) |
|
Return a module by calling the init function
◆ GetVersion()
std::string DLLManager::GetVersion |
( |
| ) |
|
Get detailed version information from the module file
◆ LastError()
const std::string& DLLManager::LastError |
( |
| ) |
|
|
inline |
Get the last error from dlopen() or dlsym().
◆ RetrieveLastError()
void DLLManager::RetrieveLastError |
( |
| ) |
|
|
protected |
Sets the last error string
◆ err
std::string DLLManager::err |
|
protected |
The module library handle.
The documentation for this class was generated from the following files: