A plugin dynamic library loaded from a SC::PluginRegistry.
More...
#include <Plugin.h>
|
| template<typename T > |
| bool | queryInterface (T *&outInterface) const |
| | Try to obtain a given interface as exported by a plugin through SC_PLUGIN_EXPORT_INTERFACES macro.
|
| |
A plugin dynamic library loaded from a SC::PluginRegistry.
◆ queryInterface()
template<typename T >
| bool SC::PluginDynamicLibrary::queryInterface |
( |
T *& | outInterface | ) |
const |
|
inlinenodiscard |
Try to obtain a given interface as exported by a plugin through SC_PLUGIN_EXPORT_INTERFACES macro.
- Parameters
-
| [out] | outInterface | Pointer to the interface that will be returned by the plugin, if it exists |
- Returns
- true if the plugin is loaded and the requested interface is implemented by the plugin itself
◆ definition
Definition of the loaded plugin.
◆ dynamicLibrary
| SystemDynamicLibrary SC::PluginDynamicLibrary::dynamicLibrary |
System handle of plugin's dynamic library.
◆ errorStorage
| char SC::PluginDynamicLibrary::errorStorage[1024 *8] = {} |
Storage for last error log (below)
◆ lastErrorLog
Last error log of compiler / linker (if any)
◆ lastLoadTime
| TimeMs SC::PluginDynamicLibrary::lastLoadTime |
Last time when this plugin was last loaded.
◆ numReloads
| uint32_t SC::PluginDynamicLibrary::numReloads |
Number of times that the plugin has been hot-reloaded.
The documentation for this struct was generated from the following file: