FBaseTimingTrack

Unreal Engine C++ API Reference > Developer > TraceInsights > Insights > ViewModels

Inheritance Hierarchy

References

   
Module TraceInsights
Header /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h
Include #include "Insights/ViewModels/BaseTimingTrack.h"

Syntax

class FBaseTimingTrack : public [TSharedFromThis< FBaseTimingTrack >](API\Runtime\Core\Templates\TSharedFromThis)  

Variables

Type Name Description
TSharedPtr< FBa... ChildTrack  
TWeakPtr< FBase... ParentTrack  

Constructors

Type Name Description
  FBaseTimingTrack ( const FString& InName )  

Destructors

Type Name Description
  ~FBaseTimingTrack ()  

Functions

Type Name Description
const Type & As ()  
Type & As ()  
void BuildContextMenu ( FMenuBuilder& MenuBuilder )  
void ClearDirtyFlag ()  
void Draw ( const ITimingTrackDrawContext& Con... ) Draw callback (called from OnPaint) to draw the track's content.
void DrawEvent ( const ITimingTrackDrawContext& Con..., const ITimingEvent& InTimingEvent, EDrawEventMode InDrawMode ) Draw a single event (can be used to draw only the highlight for a selected and/or hovered event).
uint64 GenerateId ()  
TSharedPtr< ... GetChildTrack ()  
const TShare... GetEvent ( float InPosX, float InPosY, const FTimingTrackViewport& Viewpo... ) Gets the event at a specified position.
TSharedPtr< ... GetFilterByEvent ( const TSharedPtr< const ITimingEven... ) Get the filter object for filtering all events similar with a specified event. Used when double clicked on an event.
float GetHeight ()  
uint64 GetId ()  
ETimingTrack... GetLocation ()  
const FStrin... GetName ()  
int32 GetOrder ()  
TWeakPtr< FB... GetParentTrack ()  
float GetPosY ()  
const FName ... GetStaticTypeName ()  
const FName ... GetTypeName ()  
ETimingTrack... GetValidLocations ()  
void Hide ()  
void InitTooltip ( FTooltipDrawState& InOutTooltip, const ITimingEvent& InTooltipEvent ) Called to initialize the tooltip's content with info from a timing event.
bool Is ()  
bool IsChildTrack ()  
bool IsDirty ()  
bool IsHeaderHovered ()  
bool IsHovered ()  
bool IsKindOf ( const FName& InTypeName )  
bool IsSelected ()  
bool IsVisible ()  
void OnClipboardCopyEvent ( const ITimingEvent& InSelectedEven... ) Called back from the timing view when an event is copied to the clipboard with Ctrl+C.
void OnDirtyFlagChanged ()  
void OnEventHovered ( const ITimingEvent& InHoveredEvent ) Called back from the timing view when an event is hovered by mouse.
void OnEventSelected ( const ITimingEvent& InSelectedEven... ) Called back from the timing view when an event is selected.
void OnLocationChanged ()  
FReply OnMouseButtonDoubleClick ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )  
FReply OnMouseButtonDown ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )  
FReply OnMouseButtonUp ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )  
void OnSelectedFlagChanged ()  
void OnVisibilityChanged ()  
void PostDraw ( const ITimingTrackDrawContext& Con... ) PostDraw callback (called from OnPaint) to draw something in the foreground.
void PostUpdate ( const ITimingTrackUpdateContext& C... ) PostUpdate callback called each frame, but only if the track is visible.
void PreDraw ( const ITimingTrackDrawContext& Con... ) PreDraw callback (called from OnPaint) to draw something in the background.
void PreUpdate ( const ITimingTrackUpdateContext& C... ) PreUpdate callback called each frame, but only if the track is visible.
void Reset ()  
const TShare... SearchEvent ( const FTimingEventSearchParameters ... ) Search for an event using custom parameters.
void Select ()  
void SetChildTrack ( TSharedPtr< FBaseTimingTrack > InTr... )  
void SetDirtyFlag ()  
void SetFilterConfigurator ( TSharedPtr< Insights::FFilterConfig... )  
void SetHeaderHoveredState ( bool bIsHeaderHovered )  
void SetHeight ( float InHeight )  
void SetHoveredState ( bool bIsHovered )  
void SetLocation ( ETimingTrackLocation InLocation )  
void SetName ( const FString& InName )  
void SetOrder ( int32 InOrder )  
void SetParentTrack ( TWeakPtr< FBaseTimingTrack > InTrac... )  
void SetPosY ( float InPosY )  
void SetSelectedFlag ( bool bIsSelected )  
void SetValidLocations ( ETimingTrackLocation InValidLocatio... ) Returns number of text lines needed to display the debug string.
void SetVisibilityFlag ( bool bIsVisible )  
void Show ()  
void ToggleSelectedFlag ()  
void ToggleVisibility ()  
void Unselect ()  
void Update ( const ITimingTrackUpdateContext& C... ) Update callback called each frame, but only if the track is visible.
void UpdateEventStats ( ITimingEvent& InOutEvent ) Allows tracks to update event stats that are slower to compute (called at a lower frequency than GetEventAtPosition or Search or SearchTimingEvent).

Constants

Name Description
IdGenerator  
TypeName  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library