![]() |
Ark Server API (ASA) - Wiki
|
#include <TSMulticastDelegateBase.h>
Inheritance diagram for TTSMulticastDelegateBase< UserPolicy >:
Collaboration diagram for TTSMulticastDelegateBase< UserPolicy >:Public Member Functions | |
| void | Clear () |
| bool | IsBound () const |
| bool | IsBoundToObject (void const *InUserObject) const |
| int32 | RemoveAll (const void *InUserObject) |
Protected Types | |
| using | Super = TMulticastDelegateBase<UserPolicy> |
| using | UserPolicyType = UserPolicy |
Protected Types inherited from TMulticastDelegateBase< UserPolicy > | |
| using | InvocationListType = TArray<TDelegateBase<UserPolicy>, FMulticastInvocationListAllocatorType> |
Private Attributes | |
| FCriticalSection | CS |
Additional Inherited Members | |
Static Protected Member Functions inherited from TMulticastDelegateBase< UserPolicy > | |
| template<typename DelegateType > | |
| static FORCEINLINE auto * | GetDelegateInstanceProtectedHelper (const DelegateType &Base) |
Abstract base class for thread-safe multicast delegates.
Definition at line 13 of file TSMulticastDelegateBase.h.
|
protected |
Definition at line 16 of file TSMulticastDelegateBase.h.
|
protected |
Definition at line 17 of file TSMulticastDelegateBase.h.
|
protecteddefault |
Hidden default constructor.
|
inlineprotected |
Adds the given delegate instance to the invocation list.
| NewDelegateBaseRef | The delegate instance to add. |
Definition at line 87 of file TSMulticastDelegateBase.h.
|
inlineprotected |
Definition at line 76 of file TSMulticastDelegateBase.h.
|
inline |
Removes all functions from this delegate's invocation list.
Definition at line 21 of file TSMulticastDelegateBase.h.
|
inlineprotected |
Definition at line 69 of file TSMulticastDelegateBase.h.
|
inline |
Checks to see if any functions are bound to this multi-cast delegate.
Definition at line 32 of file TSMulticastDelegateBase.h.
|
inline |
Checks to see if any functions are bound to the given user object.
Definition at line 43 of file TSMulticastDelegateBase.h.
|
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. |
Definition at line 56 of file TSMulticastDelegateBase.h.
|
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. |
Definition at line 99 of file TSMulticastDelegateBase.h.
|
mutableprivate |
Definition at line 106 of file TSMulticastDelegateBase.h.