A plugin module.
More...
|
| PluginModule ()=default |
| Creates an unloaded module. More...
|
|
| PluginModule (const std::string &directory, const std::string &name) |
| Creates a loaded module around a plugin named name in directory. More...
|
|
bool | isLoaded () const |
| Returns true if this module wraps a loaded system module. More...
|
|
template<typename TFunc > |
TFunc | symbol (const char *symbolName) const |
| Gets a symbol of the specified type named symbolName. More...
|
|
void | release () |
| Releases the module. More...
|
|
◆ PluginModule() [1/2]
catapult::plugins::PluginModule::PluginModule |
( |
| ) |
|
|
default |
Creates an unloaded module.
◆ PluginModule() [2/2]
catapult::plugins::PluginModule::PluginModule |
( |
const std::string & |
directory, |
|
|
const std::string & |
name |
|
) |
| |
Creates a loaded module around a plugin named name in directory.
◆ isLoaded()
bool catapult::plugins::PluginModule::isLoaded |
( |
| ) |
const |
|
inline |
Returns true
if this module wraps a loaded system module.
◆ release()
void catapult::plugins::PluginModule::release |
( |
| ) |
|
◆ symbol()
template<typename TFunc >
TFunc catapult::plugins::PluginModule::symbol |
( |
const char * |
symbolName | ) |
const |
|
inline |
Gets a symbol of the specified type named symbolName.
◆ symbolVoid()
void * catapult::plugins::PluginModule::symbolVoid |
( |
const char * |
symbolName | ) |
const |
|
private |
◆ m_pModule
std::shared_ptr<void> catapult::plugins::PluginModule::m_pModule |
|
private |
The documentation for this class was generated from the following files: