omni::core::ModuleExportEntryOnModuleLastChanceShutdown
Defined in omni/core/ModuleExports.h
-
struct ModuleExportEntryOnModuleLastChanceShutdown
omni::core::ModuleExports entry to register a function to be called when the plugin unload will be skipped during a quick shutdown
Use the helper OMNI_MODULE_ON_MODULE_LAST_CHANCE_SHUTDOWN to add this entry.
Public Functions
-
inline ModuleExportEntryOnModuleLastChanceShutdown(const char *t, ModuleExportEntryFlag f)
Constructor.
Public Members
-
const char *type
Unique type name describing the entry.
-
ModuleExportEntryFlag flags
Special flags for the entry (ex: required).
-
uint32_t byteCount
Size of the entry in bytes (including the header).
-
OnModuleLastChanceShutdownFn *onModuleLastChanceShutdown
Module function to call to clean-up the module during unload.
-
inline ModuleExportEntryOnModuleLastChanceShutdown(const char *t, ModuleExportEntryFlag f)