UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IAutomationWorkerModule.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7
13{
14 FString Changelist;
16 FString MapName;
17 FString SequenceName;
18 FString AverageFPS;
25
26
28 FString ToCommaDelimetedString() const
29 {
30 return
31 Changelist + TEXT( "," ) +
32 BuildConfiguration + TEXT( "," ) +
33 MapName + TEXT( "," ) +
34 SequenceName + TEXT( "," ) +
35 AverageFPS + TEXT( "," ) +
36 AverageFrameTime + TEXT( "," ) +
39 AverageGPUTime + TEXT( "," ) +
42 }
43
46 {
47 TArray<FString> Values;
48 const bool bCullEmpty = false;
49 CommaDelimitedString.ParseIntoArray( Values, TEXT( "," ), bCullEmpty );
50
51 int32 NextValue = 0;
52 Changelist = Values[ NextValue++ ];
53 BuildConfiguration = Values[ NextValue++ ];
54 MapName = Values[ NextValue++ ];
55 SequenceName = Values[ NextValue++ ];
56 AverageFPS = Values[ NextValue++ ];
57 AverageFrameTime = Values[ NextValue++ ];
58 AverageGameThreadTime = Values[ NextValue++ ];
59 AverageRenderThreadTime = Values[ NextValue++ ];
60 AverageGPUTime = Values[ NextValue++ ];
61 PercentOfFramesAtLeast30FPS = Values[ NextValue++ ];
62 PercentOfFramesAtLeast60FPS = Values[ NextValue++ ];
63 }
64};
65
66
71 : public IModuleInterface
72{
73public:
76
80 virtual void Tick( ) = 0;
87 //virtual void RunTest(const FString& InTestToRun, const int32 InRoleIndex, FStopTestEvent const& InStopTestEvent) = 0;
88
89
90protected:
91
93};
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition AutomationTest.h:195
Definition IAutomationWorkerModule.h:72
IAutomationWorkerModule()
Definition IAutomationWorkerModule.h:92
virtual void Tick()=0
DECLARE_DELEGATE_ThreeParams(FStopTestEvent, bool, FString, class FAutomationTestExecutionInfo const &)
Definition ModuleInterface.h:14
Definition Array.h:670
Definition IAutomationWorkerModule.h:13
FString MapName
Definition IAutomationWorkerModule.h:16
FString PercentOfFramesAtLeast30FPS
Definition IAutomationWorkerModule.h:23
FString AverageRenderThreadTime
Definition IAutomationWorkerModule.h:21
FString AverageGPUTime
Definition IAutomationWorkerModule.h:22
FString PercentOfFramesAtLeast60FPS
Definition IAutomationWorkerModule.h:24
FString SequenceName
Definition IAutomationWorkerModule.h:17
FString AverageFrameTime
Definition IAutomationWorkerModule.h:19
FString ToCommaDelimetedString() const
Definition IAutomationWorkerModule.h:28
FString AverageFPS
Definition IAutomationWorkerModule.h:18
void FromCommaDelimitedString(const FString &CommaDelimitedString)
Definition IAutomationWorkerModule.h:45
FString Changelist
Definition IAutomationWorkerModule.h:14
FString AverageGameThreadTime
Definition IAutomationWorkerModule.h:20
FString BuildConfiguration
Definition IAutomationWorkerModule.h:15