RAII helper for promoting RTLD_LOCAL loaded objects to RTLD_GLOBAL. More...
#include <DLLoader.h>
Public Member Functions | |
template<typename T > | |
EnsureGlobalDLOpen (const T &p) noexcept | |
Confevert a const reference to a. More... | |
EnsureGlobalDLOpen (const void *symbol) noexcept | |
makes sure that object defining ptr is globally available More... | |
~EnsureGlobalDLOpen () | |
dlclose the dlopened object More... | |
Private Attributes | |
void * | handle_ =nullptr |
RAII helper for promoting RTLD_LOCAL loaded objects to RTLD_GLOBAL.
|
explicitnoexcept |
makes sure that object defining ptr is globally available
PLMD::DLLoader::EnsureGlobalDLOpen::~EnsureGlobalDLOpen | ( | ) |
dlclose the dlopened object
|
inlinenoexcept |
Confevert a const reference to a.
|
private |
Hosted by GitHub | 1.8.17 |