Modern, type-safe plugin loader.
More...
#include <PluginLoader.hpp>
Modern, type-safe plugin loader.
Definition at line 85 of file PluginLoader.hpp.
◆ PluginLoader() [1/3]
utl::PluginLoader::PluginLoader |
( |
| ) |
|
|
default |
◆ ~PluginLoader()
utl::PluginLoader::~PluginLoader |
( |
| ) |
|
|
default |
◆ PluginLoader() [2/3]
◆ PluginLoader() [3/3]
◆ getEntryPoint()
◆ loadLibrary()
SharedLib utl::PluginLoader::loadLibrary |
( |
const std::string & | path | ) |
|
|
inlineprivate |
◆ loadPlugin()
template<std::derived_from<
IPlugin > T>
std::shared_ptr< T > utl::PluginLoader::loadPlugin |
( |
const std::string & | path | ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ m_handles
std::unordered_map<std::string, SharedLib> utl::PluginLoader::m_handles |
|
private |
◆ m_mutex
std::mutex utl::PluginLoader::m_mutex |
|
private |
◆ m_plugins
std::unordered_map<std::string, std::unique_ptr<IPlugin> > utl::PluginLoader::m_plugins |
|
private |
The documentation for this class was generated from the following file: