template<typename T>
sead::DelegateEvent class

Manages signal and slots for an event.

Public types

class Slot
A Slot is a wrapper around a Delegate that is invoked when a signal is emitted.
using SlotList = TList<Slot*>
using SlotListNode = TListNode<Slot*>

Constructors, destructors, conversion operators

~DelegateEvent() virtual

Public functions

void connect(Slot& slot)
void disconnect(Slot& slot)
void emit(T arg)
auto getNumSlots() const -> int

Protected variables

SlotList mList