◆ FDirectoryBuildStreamer()
◆ ~FDirectoryBuildStreamer()
| BuildPatchServices::FDirectoryBuildStreamer::~FDirectoryBuildStreamer |
( |
| ) |
|
|
virtual |
◆ DequeueData()
Fetches some data from the buffer, also removing it.
- Parameters
-
| IN | Buffer Pointer to buffer to receive the data. |
| IN | ReqSize The amount of data to attempt to retrieve. |
| IN | WaitForData Optional: Default true. Whether to wait until there is enough data in the buffer. |
- Returns
- the amount of data retrieved.
Implements BuildPatchServices::IBuildStreamer.
◆ GetAllFilenames()
| TArray< FString > BuildPatchServices::FDirectoryBuildStreamer::GetAllFilenames |
( |
| ) |
const |
|
overridevirtual |
Gets a list of all filenames that the build contains. Will block until the list of files is enumerated and ignored files have been stripped out.
- Returns
- array of filenames in the build.
Implements BuildPatchServices::IDirectoryBuildStreamer.
◆ GetAllFiles()
| TArray< FFileSpan > BuildPatchServices::FDirectoryBuildStreamer::GetAllFiles |
( |
| ) |
const |
|
overridevirtual |
Get the list of file spans for each file in the build, including empty files. MUST be called only after IsEndOfData returns true.
- Returns
- the list of files in the build and their details.
Implements BuildPatchServices::IDirectoryBuildStreamer.
◆ GetBuildSize()
| uint64 BuildPatchServices::FDirectoryBuildStreamer::GetBuildSize |
( |
| ) |
const |
|
overridevirtual |
◆ GetEmptyFiles()
| TArray< FString > BuildPatchServices::FDirectoryBuildStreamer::GetEmptyFiles |
( |
| ) |
const |
|
overridevirtual |
◆ GetFileSpan()
| bool BuildPatchServices::FDirectoryBuildStreamer::GetFileSpan |
( |
uint64 |
StartingIdx, |
|
|
FFileSpan & |
FileSpan |
|
) |
| const |
|
overridevirtual |
Retrieves the file details for a specific start index.
- Parameters
-
| IN | StartingIdx The data index into the build image. |
| OUT | FileSpan Receives a copy of the file span data. |
- Returns
- true if the data byte at StartingIdx is the start of a file, false indicates that FileSpan was not set.
Implements BuildPatchServices::IDirectoryBuildStreamer.
◆ HasAborted()
| bool BuildPatchServices::FDirectoryBuildStreamer::HasAborted |
( |
| ) |
const |
|
overridevirtual |
◆ IsEndOfData()
| bool BuildPatchServices::FDirectoryBuildStreamer::IsEndOfData |
( |
| ) |
const |
|
overridevirtual |
Whether there is any more data available to dequeue from the buffer.
- Returns
- true if there is no more data coming in, and the internal buffer is also empty.
Implements BuildPatchServices::IBuildStreamer.
The documentation for this class was generated from the following file: