Navigation
API > API/Developer > API/Developer/TraceInsights > API/Developer/TraceInsights/FBaseTimingTrack
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< T > FindChildTrackOfType () |
Returns the first child track of the given type. | Insights/ViewModels/BaseTimingTrack.h | |
TSharedPtr< FBaseTimingTrack > FindChildTrackOfType
(
FName TrackTypeName |
The reason why FindChildTrackOfType does not consider the inheritance hierarchy is because if it did, downstream inheritors of specific public track types could break plugins defining them. | Insights/ViewModels/BaseTimingTrack.h |
FindChildTrackOfType()
Description
Returns the first child track of the given type. Note that the type is matched exactly (without considering inheritance.) `T_ must belong to the SimpleRTTI hierarchy.
| Name | FindChildTrackOfType |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h |
| Include Path | #include "Insights/ViewModels/BaseTimingTrack.h" |
template<typename T>
TSharedPtr < T > FindChildTrackOfType()
FindChildTrackOfType(FName)
Description
The reason why FindChildTrackOfType does not consider the inheritance hierarchy is because if it did, downstream inheritors of specific public track types could break plugins defining them. Certain parts of Insights assume that there exists at least one instance of a child track of a given type (e.g. there must be at most one FContextSwitchesTimingTrack per FCpuCoreTimingTrack.) Returns the first child track with the same type name. Note that the type name is matched exactly (without considering inheritance.) You should generally prefer the templated version over this.
| Name | FindChildTrackOfType |
| Type | function |
| Header File | /Engine/Source/Developer/TraceInsights/Public/Insights/ViewModels/BaseTimingTrack.h |
| Include Path | #include "Insights/ViewModels/BaseTimingTrack.h" |
| Source | /Engine/Source/Developer/TraceInsights/Private/Insights/ViewModels/BaseTimingTrack.cpp |
TSharedPtr < FBaseTimingTrack > FindChildTrackOfType
(
FName TrackTypeName
)