class
MulticastDelegate
MulticastDelegate<Args...> — many subscribers, broadcast in add order.
- Module
- Core
- Header
#include "Core/Delegate.h"- Namespace
Mowo- Template
template<typename... Args>
Type aliases
| Alias | Description |
|---|---|
using Callback = Delegate<void(Args...)> |
Public functions
| Returns | Name | Description |
|---|---|---|
MulticastDelegate& | operator+= | |
MulticastDelegate& | operator-= | |
void | Add | |
void | Remove | |
void | Clear | |
void | Broadcast | |
void | operator() | |
size_t | GetCount | |
bool | IsEmpty | |
operatorbool | ||
bool | IsBound |
Function details
operator+=
C++
MulticastDelegate& operator+=(Callback callback)operator-=
C++
MulticastDelegate& operator-=(const Callback& callback)Add
C++
void Add(Callback callback)Remove
C++
void Remove(const Callback& callback)Clear
C++
void Clear()Broadcast
C++
void Broadcast(Args... args) constoperator()
C++
void operator()(Args... args) constGetCount
C++
size_t GetCount() constIsEmpty
C++
bool IsEmpty() constoperatorbool
C++
explicit operator bool() constIsBound
C++
bool IsBound() constGenerated from Core/Delegate.h via core.json · Nov 5, 2026Version 1.0.0