|
SDL3pp
A slim C++ wrapper for SDL3
|
Semi-safe reference for SharedObject.


Public Member Functions | |
| SharedObjectRef (SharedObjectParam resource) noexcept | |
| Constructs from SharedObjectParam. More... | |
| SharedObjectRef (SharedObjectRaw resource) noexcept | |
| Constructs from SharedObjectParam. More... | |
| SharedObjectRef (const SharedObjectRef &other) noexcept | |
| Copy constructor. | |
| ~SharedObjectRef () | |
| Destructor. | |
| constexpr | SharedObject (std::nullptr_t=nullptr) noexcept |
| Default ctor. | |
| constexpr | SharedObject (const SharedObjectRaw resource) noexcept |
| Constructs from SharedObjectParam. More... | |
| constexpr | SharedObject (const SharedObject &other)=delete |
| Copy constructor. | |
| constexpr | SharedObject (SharedObject &&other) noexcept |
| Move constructor. | |
| constexpr | SharedObject (const SharedObjectRef &other)=delete |
| constexpr | SharedObject (SharedObjectRef &&other)=delete |
| SharedObject (StringParam sofile) | |
| Dynamically load a shared object. More... | |
Public Member Functions inherited from SDL::SharedObject | |
| constexpr | SharedObject (std::nullptr_t=nullptr) noexcept |
| Default ctor. | |
| constexpr | SharedObject (const SharedObjectRaw resource) noexcept |
| Constructs from SharedObjectParam. More... | |
| constexpr | SharedObject (const SharedObject &other)=delete |
| Copy constructor. | |
| constexpr | SharedObject (SharedObject &&other) noexcept |
| Move constructor. | |
| constexpr | SharedObject (const SharedObjectRef &other)=delete |
| constexpr | SharedObject (SharedObjectRef &&other)=delete |
| SharedObject (StringParam sofile) | |
| Dynamically load a shared object. More... | |
| ~SharedObject () | |
| Destructor. | |
| constexpr SharedObject & | operator= (SharedObject &&other) noexcept |
| Assignment operator. | |
| constexpr SharedObjectRaw | get () const noexcept |
| Retrieves underlying SharedObjectRaw. | |
| constexpr SharedObjectRaw | release () noexcept |
| Retrieves underlying SharedObjectRaw and clear this. | |
| constexpr auto | operator<=> (const SharedObject &other) const noexcept=default |
| Comparison. | |
| constexpr | operator bool () const noexcept |
| Converts to bool. | |
| constexpr | operator SharedObjectParam () const noexcept |
| Converts to SharedObjectParam. | |
| void | Unload () |
| Unload a shared object from memory. More... | |
| FunctionPointer | LoadFunction (StringParam name) |
| Look up the address of the named function in a shared object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SDL::SharedObject | |
| constexpr SharedObject & | operator= (const SharedObject &other) noexcept=default |
| Assignment operator. | |
|
inlinenoexcept |
| resource | a SharedObjectRaw or SharedObject. |
This does not takes ownership!
|
inlinenoexcept |
| resource | a SharedObjectRaw or SharedObject. |
This does not takes ownership!
|
inlineexplicitconstexprnoexcept |
| resource | a SharedObjectRaw to be wrapped. |
This assumes the ownership, call release() if you need to take back.
|
inline |
| sofile | a system-dependent name of the object file. |