Library Object.
More...
#include <Library.h>
◆ Module
◆ Ptr
◆ ~Library()
◆ Library()
| Library::Library |
( |
std::unique_ptr< Impl > | impl | ) |
|
|
explicitprivatenoexcept |
◆ create()
◆ createEx()
| static Result< Ptr, ErrorCode > sese::system::Library::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
◆ findFunctionByName()
| const void * Library::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 impl.
Referenced by findFunctionByNameAs().
◆ findFunctionByNameAs()
template<typename T >
| T * sese::system::Library::findFunctionByNameAs |
( |
const std::string & | name | ) |
const |
|
inlinenodiscard |
◆ impl
| std::unique_ptr<Impl> sese::system::Library::impl |
|
private |
The documentation for this class was generated from the following files: