| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Developer/TaskGraph/Public/SBarVisualizer.h |
Include |
#include "SBarVisualizer.h" |
class SBarVisualizer : public SCompoundWidget
Bars Visualizer. Contains a list of bars for each profiler category
Name | Description | ||
---|---|---|---|
|
TSharedPtr< SLi... |
BarGraphsList |
A pointer to the ListView of threads graph bars |
|
bSuppressBarGraphSelectionChangedDelegate |
Should the OnBarGraphSelectionChangedDelegate be suppressed to avoid event loops |
|
|
Graphs |
List of all SGraphBar widgets in the tree |
|
|
OnBarEventSelectionChangedDelegate |
Delegate used when single event on the bar graph is selected |
|
|
OnBarGraphContextMenuDelegate |
Delegate used when the user right-clicks on a bar graph |
|
|
OnBarGraphExpansionChangedDelegate |
Delegate used when bar graph selection changes |
|
|
OnBarGraphSelectionChangedDelegate |
Delegate used when bar graph selection changes |
|
|
TSharedPtr< FVi... |
ProfileData |
Original profiler data |
|
ProfileDataView |
Profiler data view (filtered data) |
|
|
TSharedPtr< SSc... |
ScrollBar |
A pointer to the horizontal scrollbar widget |
|
float |
ScrollbarOffset |
Scrollbar offset |
|
TSharedPtr< FVi... |
SelectedBarGraph |
Currently selected bar graph |
|
TSharedPtr< STi... |
Timeline |
A pointer to the horizontal scrollbar widget |
|
ViewMode |
Bar visualizer view mode |
|
|
TSharedPtr< STe... |
ZoomLabel |
A pointer to the Zoom Label widget |
|
float |
ZoomSliderValue |
Zoom slider value |
Name | Description | ||
---|---|---|---|
|
AdjustTimeline ( |
Adjusts timeline to match the selected event's start and duration |
|
|
CheckViewMode ( |
Given a view mode checks if it's the currently selected one |
|
|
ClearBarSelection ( |
Recursively clears selection on all bar graphs |
|
|
Construct ( |
Construct the widget |
|
|
CreateDataView() |
Creates filtered data |
|
|
CreateFlattenedData ( |
Creates flattened data view |
|
|
ExpandBar ( |
Called when the user clicked bar graph's expand button |
|
|
TSharedPtr< ... |
FindSelectedEventsParent ( |
|
|
GetHomeButtonVisibility() |
Checks if home button should be visible |
|
|
float |
GetMaxGraphOffset() |
Gets the maximum graph offset value for the graph bars |
|
float |
GetMaxScrollOffsetFraction() |
Gets the maximum scroll offset fraction value for the horizontal scrollbar |
|
GetSelectedCategoryName() |
Gets the currently displayed hierarchy node name |
|
|
GetToParentButtonVisibility() |
Checks if 'to parent' button should be visible |
|
|
float |
GetZoom() |
Gets the actual zoom level for the graph bars |
|
GetZoomLabel() |
Constructs the zoom label string based on the current zoom level value. |
|
|
float |
GetZoomValue() |
Callback used to get the current zoom slider value. |
|
HandleEventSelectionChanged ( |
Handles selection change in the events tree |
|
|
IsExpandable ( |
Checks if the selected event has children with children |
|
|
OnBarEventSelectionChanged ( |
Function called when the user selects an event bar in the graph |
|
|
OnBarGeometryChanged ( |
Called when bar graph geometry (size) changes |
|
|
OnBarGraphSelectionChanged ( |
Function called when the currently selected bar graph changes |
|
|
OnBarRightClicked ( |
Forwards right-click event to the visualizer main frame |
|
|
TSharedRef< ... |
OnGenerateWidgetForList ( |
Generates SGraphBar widget for the threads list |
|
OnGetChildrenForList ( |
Generates children for the specified tree view item |
|
|
OnHomeClicked() |
Handles clickong on 'Home' button |
|
|
OnSetZoomValue ( |
Callback used to handle zoom slider |
|
|
OnToParentClicked() |
Handles clicking on 'Back to parent' button |
|
|
ScrollBar_OnUserScrolled ( |
Callback for scrolling the horizontal scrollbar |
|
|
SetViewMode ( |
Sets the current view mode |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FOnBarEventSelectionChanged |
Delegate used when a single event on the bar graph is selected |
FOnBarGraphContextMenu |
Delegate used when the user right-clicks on a bar graph |
FOnBarGraphExpansionChanged |
Delegate used when bar graph expansion changes |
FOnBarGraphSelectionChanged |
Delegate used when bar graph selection changes |