Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/ViewModels
References
| Module | TraceInsights |
| Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventSearch.h |
| Include | #include "Insights/ViewModels/TimingEventSearch.h" |
Syntax
template<typename PayloadType>
struct TTimingEventSearch
Remarks
Helper used to orchestrate a search of a timing event track's events Example of usage: FMyStruct MatchedPayload;
TTimingEventSearch
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Default predicates. | ||
| void | |||
| bool | Search
(
const FTimingEventSearchParameters& InParameters, |
Search using only the event filter and no match predicate. | |
| bool | Search
(
const FTimingEventSearchParameters& InParameters, |
Search using only the event filter, no match predicate and a cache. | |
| bool | Search
(
const FTimingEventSearchParameters& InParameters, |
Search using a specific payload filter. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FContext | Context used to operate a search. |
Typedefs
| Name | Description |
|---|---|
| FoundPredicate | Predicate called when a match has been found. |
| PayloadFilterPredicate | Predicate called to filter by payload contents Return true to pass the filer |
| PayloadMatchedPredicate | Predicate called when a match has been made to the search parameters. |
| SearchPredicate | 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. |