![]() |
ImFusion C++ SDK 4.4.0
|
#include <ImFusion/Core/Plugin.h>
Helper class to automatically register a plugin when the OS loads a library. More...
Helper class to automatically register a plugin when the OS loads a library.
Don't use directly but use the IMFUSION_REGISTER_PLUGIN() macro instead.
Public Types | |
| using | PluginIdFunction = const char* (*)() |
| Typedef for a pointer to a function that returns the unique plugin ID. | |
Public Member Functions | |
| PluginAutoRegistrationGuard (PluginIdFunction pluginIdFunctionPointer) | |
| ImFusion::PluginAutoRegistrationGuard::PluginAutoRegistrationGuard | ( | PluginIdFunction | pluginIdFunctionPointer | ) |
| pluginIdFunctionPointer | Pointer the the static PluginBase::id() function. Technically, could be any function pointer that resides in the plugin's shared library. |