![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BuildPatchFileConstructor.h>
Inheritance diagram for BuildPatchServices::FBuildPatchFileConstructor:Classes | |
| struct | FBackingStoreStats |
FBuildPatchFileConstructor This class controls a thread that constructs files from a file list, given install details, and chunk availability notifications
| FBuildPatchFileConstructor::FBuildPatchFileConstructor | ( | FFileConstructorConfig | Configuration, |
| IFileSystem * | FileSystem, | ||
| IConstructorChunkDbChunkSource * | ChunkDbChunkSource, | ||
| IConstructorCloudChunkSource * | CloudChunkSource, | ||
| IConstructorInstallChunkSource * | InstallChunkSource, | ||
| IChunkReferenceTracker * | ChunkReferenceTracker, | ||
| IInstallerError * | InstallerError, | ||
| IInstallerAnalytics * | InstallerAnalytics, | ||
| IMessagePump * | MessagePump, | ||
| IFileConstructorStat * | FileConstructorStat, | ||
| TMap< FGuid, EConstructorChunkLocation > && | ChunkLocations | ||
| ) |
Constructor
| Configuration | The configuration for the constructor. |
| FileSystem | The service used to open files. |
| ChunkSource | Pointer to the chunk source. |
| ChunkReferenceTracker | Pointer to the chunk reference tracker. |
| InstallerError | Pointer to the installer error class for reporting fatal errors. |
| InstallerAnalytics | Pointer to the installer analytics handler for reporting events. |
| FileConstructorStat | Pointer to the stat class for receiving updates. |
| FBuildPatchFileConstructor::~FBuildPatchFileConstructor | ( | ) |
Default Destructor, will delete the allocated Thread
|
overridevirtual |
Called to instruct the class to cease all activity, and perform any shutdown.
Implements BuildPatchServices::IControllable.
| BuildPatchServices::FBuildPatchFileConstructor::DECLARE_EVENT_OneParam | ( | FBuildPatchFileConstructor | , |
| FOnBeforeDeleteFile | , | ||
| const FString & | |||
| ) |
Broadcasts with full filepath to file that the constructor is about to delete in order to free up space.
| uint64 FBuildPatchFileConstructor::GetAvailableDiskSpace | ( | ) |
Get the disk space that was available when last updating RequiredDiskSpace. See notes with GetRequiredDiskSpace. It's possible for this to return 0 due to the underlying operating system being unable to report a value in cases of e.g. the drive being disconnected.
|
inline |
| uint64 FBuildPatchFileConstructor::GetRequiredDiskSpace | ( | ) |
Get the disk space that was required to perform the installation. This can change over time and indicates the required space to finish the installation from the current state. It is not initialized until after resume is processed and returns zero until that time. Note that since this and GetAvailableDiskSpace are separate accessors there's no guarantee that they match - e.g. if you call GetRequiredDiskSpace and then GetAvailableDiskSpace immediately afterwards, it's possible the Available Disk Space value is from a later call. This is highly unlikely due to how rare these updates are, but it's possible. Use these for UI purposes only.
|
inline |
| FBuildPatchFileConstructor::FOnBeforeDeleteFile & FBuildPatchFileConstructor::OnBeforeDeleteFile | ( | ) |
| void FBuildPatchFileConstructor::Run | ( | ) |
Sets whether the class should pause current activities and wait.
| bIsPaused | True if the class should pause. |
Implements BuildPatchServices::IControllable.
| void FBuildPatchFileConstructor::WakeUpDispatch | ( | ) |