Handle to a dynamic library with RAII. More...
#include <PluginLoader.hpp>
Public Member Functions | |
SharedLib (const LibHandle h=nullptr) | |
~SharedLib () | |
SharedLib (const SharedLib &)=delete | |
SharedLib & | operator= (const SharedLib &)=delete |
SharedLib (SharedLib &&other) noexcept | |
SharedLib & | operator= (SharedLib &&other) noexcept |
void | close () |
operator bool () const | |
Public Attributes | |
LibHandle | handle = nullptr |
Handle to a dynamic library with RAII.
Definition at line 42 of file PluginLoader.hpp.
|
inlineexplicit |
Definition at line 46 of file PluginLoader.hpp.
|
inline |
Definition at line 47 of file PluginLoader.hpp.
References close().
|
delete |
|
inlinenoexcept |
Definition at line 51 of file PluginLoader.hpp.
|
inline |
Definition at line 63 of file PluginLoader.hpp.
References handle.
Referenced by operator=(), and ~SharedLib().
|
inlineexplicit |
Definition at line 75 of file PluginLoader.hpp.
References handle.
Definition at line 52 of file PluginLoader.hpp.
References close(), and handle.
LibHandle utl::SharedLib::handle = nullptr |
Definition at line 44 of file PluginLoader.hpp.
Referenced by close(), utl::PluginLoader::getEntryPoint(), operator bool(), and operator=().