Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/Insights > API/Developer/TraceInsights/Insights/ViewModels
Inheritance Hierarchy
- TSharedFromThis
- FBaseTimingTrack
- FTimingEventsTrack
References
| Module | TraceInsights |
| Header | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/TimingEventsTrack.h |
| Include | #include "Insights/ViewModels/TimingEventsTrack.h" |
Syntax
class FTimingEventsTrack : public FBaseTimingTrack
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTimingEventsTrack
(
const FString& InTrackName |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildDrawState
(
ITimingEventsTrackDrawStateBuilder& Builder, |
||
| void | BuildFilteredDrawState
(
ITimingEventsTrackDrawStateBuilder& Builder, |
||
| void | DrawEvents
(
const ITimingTrackDrawContext& Context, |
||
| void | DrawHeader
(
const ITimingTrackDrawContext& Context |
||
| void | DrawMarkers
(
const ITimingTrackDrawContext& Context, |
||
| void | DrawSelectedEventInfo
(
const FString& InText, |
||
| const FTimingEventsTrackDrawState & | GetDrawState () |
||
| const TSharedPtr< const ITimingEvent > | GetEvent
(
double InTime, |
||
| const FTimingEventsTrackDrawState & | |||
| float | |||
| int32 | GetHeaderBackgroundLayerId
(
const ITimingTrackDrawContext& Context |
||
| int32 | GetHeaderTextLayerId
(
const ITimingTrackDrawContext& Context |
||
| int32 | GetNumLanes () |
||
| const FName & | |||
| bool | |||
| void | SetNumLanes
(
int32 InNumLanes |
||
| bool | |||
| void | UpdateTrackHeight
(
const ITimingTrackUpdateContext& Context |
Overridden from FBaseTimingTrack
| Type | Name | Description | |
|---|---|---|---|
| void | Draw
(
const ITimingTrackDrawContext& Context |
Draw callback (called from OnPaint) to draw the track's content. | |
| void | DrawEvent
(
const ITimingTrackDrawContext& Context, |
Draw a single event (can be used to draw only the highlight for a selected and/or hovered event). | |
| const TSharedPtr< const ITimingEvent > | GetEvent
(
float InPosX, |
Gets the event at a specified position. | |
| TSharedPtr< ITimingEventFilter > | GetFilterByEvent
(
const TSharedPtr< const ITimingEvent > InTimingEvent |
Get the filter object for filtering all events similar with a specified event. Used when double clicked on an event. | |
| const FName & | GetTypeName () |
||
| bool | |||
| void | PostDraw
(
const ITimingTrackDrawContext& Context |
PostDraw callback (called from OnPaint) to draw something in the foreground. | |
| void | PostUpdate
(
const ITimingTrackUpdateContext& Context |
PostUpdate callback called each frame, but only if the track is visible. | |
| void | PreUpdate
(
const ITimingTrackUpdateContext& Context |
PreUpdate callback called each frame, but only if the track is visible. | |
| void | Reset () |
Constants
| Name | Description |
|---|---|
| bUseDownSampling | |
| TypeName |