Modern, cross-platform plugin loader. More...
#include <concepts>#include <memory>#include <mutex>#include <stdexcept>#include <string>#include <unordered_map>#include <dlfcn.h>#include "Utils/Interfaces/IPlugin.hpp"#include "Utils/Logger.hpp"
Include dependency graph for PluginLoader.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | utl::SharedLib |
| Handle to a dynamic library with RAII. More... | |
| class | utl::PluginLoader |
| Modern, type-safe plugin loader. More... | |
Namespaces | |
| namespace | utl |
Macros | |
| #define | PLUGINS_EXTENSION ".so" |
Typedefs | |
| using | utl::LibHandle |
| using | utl::EntryPointFn = IPlugin *(*)() |
Modern, cross-platform plugin loader.
Definition in file PluginLoader.hpp.
| #define PLUGINS_EXTENSION ".so" |
Definition at line 24 of file PluginLoader.hpp.