UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FileConstructorStat.mock.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
6
7#if WITH_DEV_AUTOMATION_TESTS
8
9namespace BuildPatchServices
10{
12 : public IFileConstructorStat
13 {
14 public:
22
23 public:
24 virtual void OnResumeStarted() override
25 {
26 RxResumeStarted.Emplace(FStatsCollector::GetSeconds());
27 }
28
29 virtual void OnResumeCompleted() override
30 {
31 RxResumeCompleted.Emplace(FStatsCollector::GetSeconds());
32 }
33
34 virtual void OnFileStarted(const FString& Filename, int64 FileSize) override
35 {
36 RxFileStarted.Emplace(FStatsCollector::GetSeconds(), Filename, FileSize);
37 }
38
39 virtual void OnFileProgress(const FString& Filename, int64 TotalBytes) override
40 {
41 RxFileProgress.Emplace(FStatsCollector::GetSeconds(), Filename, TotalBytes);
42 }
43
44 virtual void OnFileCompleted(const FString& Filename, bool bSuccess) override
45 {
46 RxFileCompleted.Emplace(FStatsCollector::GetSeconds(), Filename, bSuccess);
47 }
48
49 virtual void OnProcessedDataUpdated(int64 TotalBytes) override
50 {
51 RxProcessedDataUpdated.Emplace(FStatsCollector::GetSeconds(), TotalBytes);
52 }
53
54 virtual void OnTotalRequiredUpdated(int64 TotalBytes) override
55 {
56 RxTotalRequiredUpdated.Emplace(FStatsCollector::GetSeconds(), TotalBytes);
57 }
58
59 public:
67 };
68}
69
70#endif //WITH_DEV_AUTOMATION_TESTS
bool bSuccess
Definition ConvexDecomposition3.cpp:819
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Array.h:670
Definition BuildPatchFileConstructor.h:28
Definition Tuple.h:652