Contents

class

SushiEngine::EventBus::TypedChannel

template <typename Event>

Holds one registered channel of Event and publishes to it with its type.

Declared in
engine/foundation/event_bus/include/SushiEngine/event_bus/typed_channel.hpp

Public Methods

bind

Registers the channel of Event on bus.

handle

Returns the bound channel.

publish

Publishes event for the next drain of each phase.

publish_immediate

Publishes event to every subscriber now.

has_subscribers

Whether this channel currently has at least one live subscriber.

subscribe

Subscribes instance's member Member at phase for owner.