Contents

SushiEngine::EventBus::Bus

register_channel

virtual ChannelRegistration register_channel(const EventTypeDescription &description) noexcept override

Parameters

NameTypeDescription
descriptionconst EventTypeDescription &

The type's identity, name and layout.

Returns

ChannelRegistration

The channel and whether it was registered, found or rejected.

Description

Registers the channel for one event type, or returns the existing one.