Wrapper for a handle to dynamically linkable executable module. More...
#include <eagine/dynamic_library.hpp>
Public Types | |
using | handle_type = void * |
Alias for the handle type. | |
Public Member Functions | |
executable_module () noexcept=default | |
Default constructor. | |
executable_module (const executable_module &)=delete | |
Not move constructible. | |
executable_module (executable_module &&)=delete | |
Not copy constructible. | |
auto | operator= (const executable_module &)=delete |
Not move assignable. | |
auto | operator= (executable_module &&)=delete |
Not copy assignable. | |
~executable_module () noexcept | |
Closes the handle. | |
auto | is_open () const noexcept -> bool |
Checks if the module is open. More... | |
auto | find_symbol (string_view name) -> optionally_valid< void * > |
Returns a pointer to the exported symbol with the specifed name. More... | |
auto | error_message () const noexcept -> string_view |
Returns the user-readable error message from the last failed operation. | |
Wrapper for a handle to dynamically linkable executable module.
|
inline |
Returns a pointer to the exported symbol with the specifed name.
|
inlinenoexcept |
Checks if the module is open.