Contents

SushiEngine::EventBus::IBus

register_channel

virtual ChannelRegistration register_channel(const EventTypeDescription &description) noexcept=0

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.