Navigation
API > API/Runtime > API/Runtime/CoreUObject
Sparse version of TBaseDynamicDelegate
| Name | TSparseDynamicDelegate |
| Type | struct |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/SparseDelegate.h |
| Include Path | #include "UObject/SparseDelegate.h" |
Syntax
template<typename MulticastDelegate, typename OwningClass, typename DelegateInfoClass>
struct TSparseDynamicDelegate : public FSparseDelegate
Inheritance Hierarchy
- FSparseDelegate → TSparseDynamicDelegate
Derived Classes
TSparseDynamicDelegate derived class hierarchy
- FActorBeginCursorOverSignature
- FActorBeginOverlapSignature
- FActorBeginTouchOverSignature
- FActorComponentActivatedSignature
- FActorComponentDeactivateSignature
- FActorDestroyedSignature
- FActorEndCursorOverSignature
- FActorEndOverlapSignature
- FActorEndPlaySignature
- FActorEndTouchOverSignature
- FActorHitSignature
- FActorOnClickedSignature
- FActorOnInputTouchBeginSignature
- FActorOnInputTouchEndSignature
- FActorOnReleasedSignature
- FComponentBeginCursorOverSignature
- FComponentBeginOverlapSignature
- FComponentBeginTouchOverSignature
- FComponentCollisionSettingsChangedSignature
- FComponentEndCursorOverSignature
- FComponentEndOverlapSignature
- FComponentEndTouchOverSignature
- FComponentHitSignature
- FComponentOnClickedSignature
- FComponentOnInputTouchBeginSignature
- FComponentOnInputTouchEndSignature
- FComponentOnReleasedSignature
- FComponentPhysicsStateChanged
- FComponentSleepSignature
- FComponentWakeSignature
- FIsRootComponentChanged
- FPawnControllerChangedSignature
- FPawnRestartedSignature
- FPhysicsVolumeChanged
- FTakeAnyDamageSignature
- FTakePointDamageSignature
- FTakeRadialDamageSignature
- UConstraintsManager::FOnConstraintAdded
- UConstraintsManager::FOnConstraintRemoved
- UControlRig::FOnControlSelectedBP
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FDelegate | MulticastDelegate::FDelegate | UObject/SparseDelegate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void __Internal_AddDynamic
(
UserClass* InUserObject, |
Binds a UObject instance and a UObject method address to this multi-cast delegate. | UObject/SparseDelegate.h | |
void __Internal_AddUniqueDynamic
(
UserClass* InUserObject, |
Binds a UObject instance and a UObject method address to this multi-cast delegate, but only if it hasn't been bound before. | UObject/SparseDelegate.h | |
bool __Internal_IsAlreadyBound
(
UserClass* InUserObject, |
Tests if a UObject instance and a UObject method address pair are already bound to this multi-cast delegate. | UObject/SparseDelegate.h | |
void __Internal_RemoveDynamic
(
UserClass* InUserObject, |
Unbinds a UObject instance and a UObject method address from this multi-cast delegate. | UObject/SparseDelegate.h | |
void Add
(
FScriptDelegate InDelegate |
Adds a function delegate to this multi-cast delegate's invocation list | UObject/SparseDelegate.h | |
void AddUnique
(
FScriptDelegate InDelegate |
Adds a function delegate to this multi-cast delegate's invocation list if a delegate with the same signature doesn't already exist in the invocation list | UObject/SparseDelegate.h | |
void Broadcast
(
ParamTypes... Params |
Broadcasts this delegate to all bound objects, except to those that may have expired. | UObject/SparseDelegate.h | |
void Clear() |
Removes all functions from this delegate's invocation list | UObject/SparseDelegate.h | |
bool Contains
(
const FScriptDelegate& InDelegate |
Checks whether a function delegate is already a member of this multi-cast delegate's invocation list | UObject/SparseDelegate.h | |
| Checks whether a function delegate is already a member of this multi-cast delegate's invocation list | UObject/SparseDelegate.h | ||
TSharedPtr< MulticastDelegate > GetShared() |
Returns the multicast delegate if any delegates are bound to the sparse delegate | UObject/SparseDelegate.h | |
void Remove
(
const FScriptDelegate& InDelegate |
Removes a function from this multi-cast delegate's invocation list (performance is O(N)). | UObject/SparseDelegate.h | |
| Removes a function from this multi-cast delegate's invocation list (performance is O(N)). | UObject/SparseDelegate.h | ||
| Removes all delegate bindings from this multicast delegate's invocation list that are bound to the specified object. | UObject/SparseDelegate.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetDelegateName() |
UObject/SparseDelegate.h |