|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Tracks registration state for a single EventID. More...
#include <Events.h>
Public Attributes | |
| const char * | Name |
| Optional human-readable name for this event. | |
| ListenerID | NextListenerID = 0 |
| Monotonically increasing listener identifier counter for this event. | |
| uint64_t | NextListenerSequence = 0 |
| Registration-order sequence used to preserve stable listener ordering. | |
| std::unordered_map< std::string, EventMetadata > | Callers |
| Diagnostic map of event call sites keyed by file:line string. | |
| std::unordered_map< ListenerID, std::shared_ptr< ListenerAction > > | Listeners |
| Active listeners for this event keyed by ListenerID. | |
Tracks registration state for a single EventID.
Each record stores the event's debug name, listener allocation counters, caller metadata for diagnostics, and the currently registered ListenerActions keyed by ListenerID.
| std::unordered_map<std::string, EventMetadata> Ship::EventRegistration::Callers |
Diagnostic map of event call sites keyed by file:line string.
| std::unordered_map<ListenerID, std::shared_ptr<ListenerAction> > Ship::EventRegistration::Listeners |
Active listeners for this event keyed by ListenerID.
| const char* Ship::EventRegistration::Name |
Optional human-readable name for this event.
| ListenerID Ship::EventRegistration::NextListenerID = 0 |
Monotonically increasing listener identifier counter for this event.
| uint64_t Ship::EventRegistration::NextListenerSequence = 0 |
Registration-order sequence used to preserve stable listener ordering.