Abstract base class for multicast delegates. 更多...
#include <MulticastDelegateBase.h>
Public 成员函数 | |
| void | Clear () |
| Removes all functions from this delegate's invocation list. | |
| bool | IsBound () const |
| Checks to see if any functions are bound to this multi-cast delegate. 更多... | |
| bool | IsBoundToObject (void const *InUserObject) const |
| 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. 更多... | |
Protected 成员函数 | |
| FDelegateHandle | AddDelegateInstance (TDelegateBase< UserPolicy > &&NewDelegateBaseRef) |
| Adds the given delegate instance to the invocation list. 更多... | |
| void | CompactInvocationList (bool CheckThreshold=false) |
| Removes any expired or deleted functions from the invocation list. 更多... | |
| InvocationListType & | GetInvocationList () |
| Gets a read-only reference to the invocation list. 更多... | |
| int32 | GetInvocationListLockCount () const |
| Returns the lock counter for the invocation list. | |
| void | LockInvocationList () const |
| Increments the lock counter for the invocation list. | |
| bool | RemoveDelegateInstance (FDelegateHandle Handle) |
| Removes a function from this multi-cast delegate's invocation list (performance is O(N)). 更多... | |
| TMulticastDelegateBase () | |
| Hidden default constructor. | |
| void | UnlockInvocationList () const |
| Decrements the lock counter for the invocation list. | |
静态 Protected 成员函数 | |
| template<typename DelegateType > | |
| static FORCEINLINE auto * | GetDelegateInstanceProtectedHelper (const DelegateType &Base) |
| Helper function for derived classes of TMulticastDelegateBase to get at the delegate instance. | |
Abstract base class for multicast delegates.
|
inlineprotected |
Adds the given delegate instance to the invocation list.
| NewDelegateBaseRef | The delegate instance to add. |
|
inlineprotected |
Removes any expired or deleted functions from the invocation list.
|
inlineprotected |
Gets a read-only reference to the invocation list.
|
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 |
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. |