Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::PendingRegistrationList Struct Reference

Root pending list. Flushing this also flushes members and lifecycles. More...

#include <ScriptEntry.h>

Static Public Member Functions

static void FlushInto (TypeRegistry *registry, std::unordered_map< TypeID, ScriptLifecycle > *lifecycles)
 Flushes all pending types, members, and lifecycles into the registry.

Static Public Attributes

static PendingEntryHead = nullptr
 Head of the pending type list.

Detailed Description

Root pending list. Flushing this also flushes members and lifecycles.

PendingRegistration appends to Head during static initialisation. RV_RegisterScripts calls FlushInto, which drives all three sub-lists in dependency order: types → members → lifecycles.

Member Function Documentation

◆ FlushInto()

void Raven::PendingRegistrationList::FlushInto ( TypeRegistry * registry,
std::unordered_map< TypeID, ScriptLifecycle > * lifecycles )
inlinestatic

Flushes all pending types, members, and lifecycles into the registry.

Parameters
registryDestination type registry.
lifecyclesDestination lifecycle map.

Member Data Documentation

◆ Head

PendingEntry* Raven::PendingRegistrationList::Head = nullptr
inlinestatic

Head of the pending type list.


The documentation for this struct was generated from the following file: