Ark Server API (ASA) - Wiki
|
#include <DelegateFilter.h>
Private Attributes | |
FPredicate | Predicate |
FChangedEvent | ChangedEvent |
Additional Inherited Members | |
Public Types inherited from IFilter< ItemType > | |
typedef ItemType | ItemType |
Protected Member Functions inherited from TSharedFromThis< TDelegateFilter< ItemType > > | |
TSharedFromThis () | |
TSharedFromThis (TSharedFromThis const &) | |
FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
~TSharedFromThis () | |
Static Protected Member Functions inherited from TSharedFromThis< TDelegateFilter< ItemType > > | |
static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
A generic filter designed to call a predicate provided on construction to filter
Definition at line 15 of file DelegateFilter.h.
|
inline |
TDelegateFilter Constructor
InPredicate | A required delegate called to determine if an Item passes the filter |
Definition at line 27 of file DelegateFilter.h.
|
inline |
Broadcasts the OnChanged event for this filter
Definition at line 48 of file DelegateFilter.h.
TDelegateFilter< ItemType >::DECLARE_DELEGATE_RetVal_OneParam | ( | bool | , |
FPredicate | , | ||
ItemType | ) |
TDelegateFilter< ItemType >::DECLARE_DERIVED_EVENT | ( | TDelegateFilter< ItemType > | , |
IFilter< ItemType >::FChangedEvent | , | ||
FChangedEvent | ) |
|
inlineoverridevirtual |
Implements IFilter< ItemType >.
Definition at line 34 of file DelegateFilter.h.
|
inlineoverridevirtual |
Returns whether the specified Item passes the Filter's restrictions
InItem | The Item is check |
Implements IFilter< ItemType >.
Definition at line 42 of file DelegateFilter.h.
|
private |
Fires whenever the filter changes
Definition at line 59 of file DelegateFilter.h.
|
private |
The delegate called to determine if an Item passes the filter
Definition at line 56 of file DelegateFilter.h.