omni::core::ModuleExportEntry¶
Defined in omni/core/ModuleExports.h
-
struct
omni::core
::
ModuleExportEntry
¶ Define an entry in omni::core::ModuleExports.
Use OMNI_MODULE_EXPORT_ENTRY_BEGIN and OMNI_MODULE_EXPORT_ENTRY_END to define an new entry type.
Each entry type must have a unique
type
(which is astring
).OMNI_MODULE_EXPORT_ENTRY_BEGIN defines the header of the entry. Note, the use of macros vs. inheritance is to ensure the resulting entry is ABI-safe (e.g. meets
std::is_standard_layout
) since these entries will be passed across DLL boundaries.Public Functions
-
inline
ModuleExportEntry
(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).
-
inline