Library Object.
More...
#include <LibraryLoader.h>
◆ Module
◆ Ptr
◆ ~LibraryObject()
LibraryObject::~LibraryObject |
( |
| ) |
|
|
noexcept |
◆ LibraryObject()
LibraryObject::LibraryObject |
( |
Module | module | ) |
|
|
explicitprivatenoexcept |
◆ create()
◆ createEx()
static Result< Ptr, ErrorCode > sese::system::LibraryObject::createEx |
( |
const std::string & | name | ) |
|
|
staticnoexcept |
Load an external library.
- Parameters
-
- Returns
- Result
◆ createWithPath()
Load an external library.
- Parameters
-
- Returns
- Library object, returns nullptr if loading fails
References create().
◆ findFunctionByName()
const void * LibraryObject::findFunctionByName |
( |
const std::string & | name | ) |
const |
|
nodiscard |
Return a function pointer from the library by name.
- Parameters
-
- Returns
- Function pointer, returns nullptr if not found
References module.
◆ module
Module sese::system::LibraryObject::module |
|
private |
The documentation for this class was generated from the following files: