![]() |
Project
|
#include <DLLoaderBase.h>
Classes | |
| struct | filename_decorations |
| struct | HandleDeleter |
Public Types | |
| enum | Options { none = 0 , global = RTLD_GLOBAL , local = RTLD_LOCAL , no_delete = RTLD_NODELETE , no_load = RTLD_NOLOAD , lazy = RTLD_LAZY } |
| using | handle_t = void |
| using | handle_ptr_t = handle_t * |
| using | library_t = std::unique_ptr< handle_t, HandleDeleter > |
Public Member Functions | |
| bool | addLibrary (const std::string &library) |
| bool | unloadLibrary (const std::string &library) |
| void | reset () |
| bool | hasSymbol (const std::string &library, const std::string &symbol) |
| template<typename Ret , typename... Args> | |
| std::optional< Ret > | executeFunction (const std::string &library, const std::string &fname, Args... args) |
| template<typename Ret , typename... Args> | |
| Ret | executeFunctionAlias (const std::string &library, const std::string &fname, Args... args) |
| DLLoaderBase (const DLLoaderBase &)=delete | |
| DLLoaderBase & | operator= (const DLLoaderBase &)=delete |
| DLLoaderBase (DLLoaderBase &&)=delete | |
| DLLoaderBase & | operator= (DLLoaderBase &&)=delete |
Static Public Member Functions | |
| static DerivedType & | Instance () |
Protected Member Functions | |
| DLLoaderBase ()=default | |
| ~DLLoaderBase ()=default | |
Definition at line 42 of file DLLoaderBase.h.
| using o2::utils::DLLoaderBase< DerivedType >::handle_ptr_t = handle_t* |
Definition at line 58 of file DLLoaderBase.h.
| using o2::utils::DLLoaderBase< DerivedType >::handle_t = void |
Definition at line 57 of file DLLoaderBase.h.
| using o2::utils::DLLoaderBase< DerivedType >::library_t = std::unique_ptr<handle_t, HandleDeleter> |
Definition at line 67 of file DLLoaderBase.h.
| enum o2::utils::DLLoaderBase::Options |
| Enumerator | |
|---|---|
| none | |
| global | |
| local | |
| no_delete | |
| no_load | |
| lazy | |
Definition at line 49 of file DLLoaderBase.h.
|
delete |
|
delete |
|
protecteddefault |
|
protecteddefault |
|
inline |
Definition at line 80 of file DLLoaderBase.h.
|
inline |
Definition at line 172 of file DLLoaderBase.h.
|
inline |
Definition at line 215 of file DLLoaderBase.h.
|
inline |
Definition at line 148 of file DLLoaderBase.h.
|
inlinestatic |
Definition at line 73 of file DLLoaderBase.h.
|
delete |
|
delete |
|
inline |
Definition at line 141 of file DLLoaderBase.h.
|
inline |
Definition at line 126 of file DLLoaderBase.h.