Class form managing and encapsulating shared libraries loading.
More...
#include <PluginManager.h>
|
static std::shared_ptr< Plugin > | load (std::string file) |
|
|
void * | mHnd = nullptr |
| Shared library handle.
|
|
std::string | mFile = "" |
| Shared library file name.
|
|
bool | mIsLoaded = false |
| Flag to indicate whether plugin (shared library) is loaded into current process.
|
|
PluginEntry * | mEntryPoint = nullptr |
| Pointer to shared library factory class returned by the DLL entry-point function.
|
|
|
static constexpr const char * | PluginEntryName = "initDynoPlugin" |
| Name of DLL entry point that a Plugin should export.
|
|
Class form managing and encapsulating shared libraries loading.
Definition at line 24 of file PluginManager.h.
◆ PluginEntryFunc
◆ Plugin() [1/3]
◆ ~Plugin()
dyno::Plugin::~Plugin |
( |
| ) |
|
◆ Plugin() [2/3]
dyno::Plugin::Plugin |
( |
Plugin const & | | ) |
|
|
delete |
◆ Plugin() [3/3]
dyno::Plugin::Plugin |
( |
Plugin && | rhs | ) |
|
◆ getInfo()
◆ isLoaded()
bool dyno::Plugin::isLoaded |
( |
| ) |
const |
◆ load()
std::shared_ptr< Plugin > dyno::Plugin::load |
( |
std::string | file | ) |
|
|
static |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ unload()
void dyno::Plugin::unload |
( |
| ) |
|
◆ mEntryPoint
Pointer to shared library factory class returned by the DLL entry-point function.
Definition at line 63 of file PluginManager.h.
◆ mFile
std::string dyno::Plugin::mFile = "" |
|
private |
◆ mHnd
void* dyno::Plugin::mHnd = nullptr |
|
private |
◆ mIsLoaded
bool dyno::Plugin::mIsLoaded = false |
|
private |
Flag to indicate whether plugin (shared library) is loaded into current process.
Definition at line 60 of file PluginManager.h.
◆ PluginEntryName
const char* dyno::Plugin::PluginEntryName = "initDynoPlugin" |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: