r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
PluginLoader.hpp File Reference

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 *(*)()
 

Detailed Description

Modern, cross-platform plugin loader.

Definition in file PluginLoader.hpp.

Macro Definition Documentation

◆ PLUGINS_EXTENSION

#define PLUGINS_EXTENSION   ".so"

Definition at line 24 of file PluginLoader.hpp.