#include <dlplugin.hpp>
Definition at line 50 of file dlplugin.hpp.
◆ Loader() [1/3]
◆ Loader() [2/3]
DLL::Loader::Loader | ( | const Loader & | | ) | |
| delete |
◆ Loader() [3/3]
DLL::Loader::Loader | ( | Loader && | | ) | |
| delete |
◆ ~Loader()
◆ dlsym()
template<typename T >
T DLL::Loader::dlsym | ( | const char * | library, | | | const char * | symbol | | ) | | |
| inline |
Returns a pointer to the requested symbol inside the given library
- Parameters
library | location of the loaded library. |
symbol | name of the symbol to load. |
- Returns
- A pointer to the loaded symbol.
Definition at line 86 of file dlplugin.hpp.
◆ load()
int DLL::Loader::load | ( | const char * | library | ) | |
Function for loading a Plugin::Object from a shared library file.
- Parameters
library | The file name of a shared library. |
- Returns
- A pointer to the newly created Plugin::Object.
- See also
- Plugin::Object
Definition at line 30 of file dlplugin.cpp.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ unload()
void DLL::Loader::unload | ( | const char * | library | ) | |
Function for unloading a single Plugin::Object in the system.
- Parameters
object | The plugin object to be unloaded. |
Definition at line 52 of file dlplugin.cpp.
◆ unloadAll()
void DLL::Loader::unloadAll | ( | | ) | |
Function for unloading all Plugin::Object's in the system.
Definition at line 65 of file dlplugin.cpp.
The documentation for this class was generated from the following files: