Navigation
API > API/Developer > API/Developer/TraceInsights
Helper used to orchestrate a search of a timing event track's events Example of usage: FMyStruct MatchedPayload;
TTimingEventSearch
| Name | TTimingEventSearch |
| Type | struct |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventSearch.h |
| Include Path | #include "Insights/ViewModels/TimingEventSearch.h" |
Syntax
template<typename PayloadType>
struct TTimingEventSearch
Structs
| Name | Remarks |
|---|---|
| FContext | Context used to operate a search. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FoundPredicate | TFunctionRef< void(double, double, uint32, const PayloadType &)> | Predicate called when a match has been found. | Insights/ViewModels/TimingEventSearch.h |
| PayloadFilterPredicate | TFunctionRef< bool(double, double, uint32, const PayloadType &)> | Predicate called to filter by payload contents Return true to pass the filer | Insights/ViewModels/TimingEventSearch.h |
| PayloadMatchedPredicate | TFunctionRef< void(double, double, uint32, const PayloadType &)> | Predicate called when a match has been made to the search parameters. | Insights/ViewModels/TimingEventSearch.h |
| SearchPredicate | TFunctionRef< void(FContext &)> | Predicate called to run the search, e.g. iterate over an array of events It is expected to call FContext::Check on each valid searched event. | Insights/ViewModels/TimingEventSearch.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool NoFilter
(
double, |
Default predicates. | Insights/ViewModels/TimingEventSearch.h | |
static void NoMatch
(
double, |
Insights/ViewModels/TimingEventSearch.h | ||
static bool Search
(
const FTimingEventSearchParameters& InParameters, |
Search using only the event filter and no match predicate. | Insights/ViewModels/TimingEventSearch.h | |
static bool Search
(
const FTimingEventSearchParameters& InParameters, |
Search using only the event filter, no match predicate and a cache. | Insights/ViewModels/TimingEventSearch.h | |
static bool Search
(
const FTimingEventSearchParameters& InParameters, |
Search using a specific payload filter. | Insights/ViewModels/TimingEventSearch.h |