Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Delegates
Inheritance Hierarchy
- TDelegateAccessHandlerBase
- TMulticastDelegateBase
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Delegates/MulticastDelegateBase.h |
| Include | #include "Delegates/MulticastDelegateBase.h" |
Syntax
template<typename UserPolicy>
class TMulticastDelegateBase : public TDelegateAccessHandlerBase< UserPolicy::FThreadSafetyMode >
Remarks
Abstract base class for multicast delegates.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Hidden default constructor. | |||
TMulticastDelegateBase
(
TMulticastDelegateBase&& Other |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | AddDelegateInstance
(
NewDelegateType&& NewDelegateBaseRef |
Adds the given delegate instance to the invocation list. | |
| void | Broadcast
(
ParamTypes... Params |
||
| void | Clear () |
Removes all functions from this delegate's invocation list. | |
| void | CopyFrom
(
const TMulticastDelegateBase& Other |
||
| SIZE_T | Returns the amount of memory allocated by this delegate's invocation list and the delegates stored within it, not including sizeof(*this). | ||
| bool | IsBound () |
Checks to see if any functions are bound to this multi-cast delegate. | |
| bool | IsBoundToObject
(
void const* InUserObject |
Checks to see if any functions are bound to the given user object. | |
| int32 | RemoveAll
(
const void* InUserObject |
Removes all functions from this multi-cast delegate's invocation list that are bound to the specified UserObject. | |
| bool | RemoveDelegateInstance
(
FDelegateHandle Handle |
Removes a function from this multi-cast delegate's invocation list (performance is O(N)). |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TMulticastDelegateBase & | operator=
(
TMulticastDelegateBase&& Other |
Typedefs
| Name | Description |
|---|---|
| InvocationListType | |
| Super | |
| UnicastDelegateType | Individual bindings are not checked for races as it's done for the parent delegate |