Handle to a dynamic library with RAII. More...
#include <PluginLoader.hpp>
Collaboration diagram for utl::SharedLib: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().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:
|
inlineexplicit |
Definition at line 75 of file PluginLoader.hpp.
References handle.
Definition at line 52 of file PluginLoader.hpp.
References close(), and handle.
Here is the call graph for this function:| LibHandle utl::SharedLib::handle = nullptr |
Definition at line 44 of file PluginLoader.hpp.
Referenced by close(), utl::PluginLoader::getEntryPoint(), operator bool(), and operator=().