![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MulticastDelegateBase.h>
Inheritance diagram for TMulticastDelegateBase< UserPolicy >:Public Member Functions | |
| TMulticastDelegateBase (TMulticastDelegateBase &&Other) | |
| TMulticastDelegateBase & | operator= (TMulticastDelegateBase &&Other) |
| void | Clear () |
| bool | IsBound () const |
| bool | IsBoundToObject (FDelegateUserObjectConst InUserObject) const |
| int32 | RemoveAll (FDelegateUserObjectConst InUserObject) |
| SIZE_T | GetAllocatedSize () const |
Protected Types | |
| using | Super = TDelegateAccessHandlerBase< typename UserPolicy::FThreadSafetyMode > |
| using | UnicastDelegateType = TDelegateBase< FNotThreadSafeNotCheckedDelegateMode > |
| using | InvocationListType = TArray< UnicastDelegateType, FMulticastInvocationListAllocatorType > |
Protected Member Functions | |
| TMulticastDelegateBase () | |
| template<typename DelegateInstanceInterfaceType > | |
| void | CopyFrom (const TMulticastDelegateBase &Other) |
| template<typename DelegateInstanceInterfaceType , typename... ParamTypes> | |
| void | Broadcast (ParamTypes... Params) const |
| template<typename NewDelegateType > | |
| FDelegateHandle | AddDelegateInstance (NewDelegateType &&NewDelegateBaseRef) |
| bool | RemoveDelegateInstance (FDelegateHandle Handle) |
Abstract base class for multicast delegates.
|
protected |
|
protected |
|
protected |
|
inline |
|
inlineprotected |
Hidden default constructor.
|
inlineprotected |
Adds the given delegate instance to the invocation list.
| NewDelegateBaseRef | The delegate instance to add. |
|
inlineprotected |
|
inline |
Removes all functions from this delegate's invocation list.
|
inlineprotected |
|
inline |
Returns the amount of memory allocated by this delegate's invocation list and the delegates stored within it, not including sizeof(*this).
|
inline |
Checks to see if any functions are bound to this multi-cast delegate.
|
inline |
Checks to see if any functions are bound to the given user object.
|
inline |
|
inline |
Removes all functions from this multi-cast delegate's invocation list that are bound to the specified UserObject. Note that the order of the delegates may not be preserved!
| InUserObject | The object to remove all delegates for. |
|
inlineprotected |
Removes a function from this multi-cast delegate's invocation list (performance is O(N)).
| Handle | The handle of the delegate instance to remove. |