omni::core::ModuleExportEntryOnModuleStarted

Defined in omni/core/ModuleExports.h

struct ModuleExportEntryOnModuleStarted

omni::core::ModuleExports entry to register a function to be called after the plugin has loaded.

Use the helper OMNI_MODULE_ON_MODULE_STARTED to add this entry.

Public Functions

inline ModuleExportEntryOnModuleStarted(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).

OnModuleStartedFn *onModuleStarted

Module function to call once the module is loaded.