Contents

namespace

SushiEngine::EventBus

Declared in
engine/foundation/addon/include/SushiEngine/addon/addon_host.hpp

Contains

Enumerations

RegistrationStatus

Says what a channel registration did.

Typedefs

OwnerId

Identifies whoever owns a group of subscriptions.

PhaseIndex

Indexes a drain phase; the frame loop names the phases.

BatchHandler

Receives one contiguous batch of events of one channel.

EventTypeId

Identifies an event type by the 64-bit FNV-1a hash of its stable name.

Variables

K_HOST_OWNER

Names the host engine as an owner.

K_MAX_PHASE_COUNT

Bounds how many drain phases one bus serves.

K_INVALID_INDEX

Marks a slot or index that names nothing.

K_INVALID_EVENT_TYPE_ID

Names no event type.

K_MAX_EVENT_SIZE

Bounds the byte size of one event.

K_MAX_EVENT_ALIGNMENT

Bounds the alignment of one event.

K_MAX_EVENT_NAME_LENGTH

Bounds the length of a stable name in characters.

K_EVENT_HASH_OFFSET_BASIS

Holds FNV-1a's 64-bit offset basis.

K_EVENT_HASH_PRIME

Holds FNV-1a's 64-bit prime.

Functions

hash_event_name

Hashes a stable name with 64-bit FNV-1a.

is_valid_event_name

Tests a name against <module>.

stable_name_literal_length

Measures a string literal's length, rejecting any argument that is not one.

describe_event

Returns the description SE_EVENT declared for Event, found by lookup.

hash_event_path

Hashes a project-relative path with 64-bit FNV-1a, folding \\endiskip to /.