Struct DynamicLibraryLoader

Struct Documentation

struct DynamicLibraryLoader

A utility struct to handle opening, closing and retrieving symbols from dynamic shared objects.

Public Functions

inline DynamicLibraryLoader(std::string_view library_name, int mode = RTLD_LAZY | RTLD_NODELETE)
inline ~DynamicLibraryLoader()
template<typename T>
inline T getSymbol(std::string_view symbol_name)

Public Members

void *handle