|
| | FCloudChunkSource (FCloudSourceConfig InConfiguration, IPlatform *Platform, IChunkStore *InChunkStore, IDownloadService *InDownloadService, IChunkReferenceTracker *InChunkReferenceTracker, IChunkDataSerialization *InChunkDataSerialization, IMessagePump *InMessagePump, IInstallerError *InInstallerError, IDownloadConnectionCount *InDownloadConnectionCount, ICloudChunkSourceStat *InCloudChunkSourceStat, IBuildManifestSet *ManifestSet, TSet< FGuid > InInitialDownloadSet) |
| |
| | ~FCloudChunkSource () |
| |
| virtual void | SetPaused (bool bInIsPaused) override |
| |
| virtual void | Abort () override |
| |
| virtual IChunkDataAccess * | Get (const FGuid &DataId) override |
| |
| virtual TSet< FGuid > | AddRuntimeRequirements (TSet< FGuid > NewRequirements) override |
| |
| virtual bool | AddRepeatRequirement (const FGuid &RepeatRequirement) override |
| |
| virtual void | SetUnavailableChunksCallback (TFunction< void(TSet< FGuid >)> Callback) override |
| |
| virtual void | ThreadRun () override |
| |
| virtual | ~ICloudChunkSource () |
| |
| virtual | ~IChunkSource () |
| |
| virtual | ~IControllable () |
| |
The concrete implementation of ICloudChunkSource
◆ FCloudChunkSource()
| BuildPatchServices::FCloudChunkSource::FCloudChunkSource |
( |
FCloudSourceConfig |
InConfiguration, |
|
|
IPlatform * |
Platform, |
|
|
IChunkStore * |
InChunkStore, |
|
|
IDownloadService * |
InDownloadService, |
|
|
IChunkReferenceTracker * |
InChunkReferenceTracker, |
|
|
IChunkDataSerialization * |
InChunkDataSerialization, |
|
|
IMessagePump * |
InMessagePump, |
|
|
IInstallerError * |
InInstallerError, |
|
|
IDownloadConnectionCount * |
InDownloadConnectionCount, |
|
|
ICloudChunkSourceStat * |
InCloudChunkSourceStat, |
|
|
IBuildManifestSet * |
ManifestSet, |
|
|
TSet< FGuid > |
InInitialDownloadSet |
|
) |
| |
◆ ~FCloudChunkSource()
| BuildPatchServices::FCloudChunkSource::~FCloudChunkSource |
( |
| ) |
|
◆ Abort()
| void BuildPatchServices::FCloudChunkSource::Abort |
( |
| ) |
|
|
overridevirtual |
◆ AddRepeatRequirement()
| bool BuildPatchServices::FCloudChunkSource::AddRepeatRequirement |
( |
const FGuid & |
RepeatRequirement | ) |
|
|
overridevirtual |
Adds a requirement to reacquire a chunk that may have already been acquired before by this source. This allows the source implementation to to support forward reading of chunks, and track which it would not need to request.
- Parameters
-
| RepeatRequirement | The chunk that needs reacquiring. |
- Returns
- true if the chunk provided can be acquired by this source.
Implements BuildPatchServices::IChunkSource.
◆ AddRuntimeRequirements()
| TSet< FGuid > BuildPatchServices::FCloudChunkSource::AddRuntimeRequirements |
( |
TSet< FGuid > |
NewRequirements | ) |
|
|
overridevirtual |
Adds additional chunk requirements to the source, the implementation will return the resulting set of chunks that could not be accessed via this source.
- Parameters
-
| NewRequirements | The set of chunks that are now additionally desired. |
- Returns
- the set of chunks provided which can not be acquired via this chunk.
Implements BuildPatchServices::IChunkSource.
◆ Get()
Gets the chunk data for the given id if this source has that chunk.
- Parameters
-
| DataId | The id for the chunk. |
- Returns
- pointer to the chunk data. or nullptr if this source does not contain the requested chunk.
Implements BuildPatchServices::IChunkSource.
◆ SetPaused()
| void BuildPatchServices::FCloudChunkSource::SetPaused |
( |
bool |
bIsPaused | ) |
|
|
overridevirtual |
◆ SetUnavailableChunksCallback()
| void BuildPatchServices::FCloudChunkSource::SetUnavailableChunksCallback |
( |
TFunction< void(TSet< FGuid >)> |
Callback | ) |
|
|
overridevirtual |
Sets a callback to be used when chunks that are being fetched by this source are no longer available.
- Parameters
-
| Callback | The function to call with the set of chunks no longer still available. |
Implements BuildPatchServices::IChunkSource.
◆ ThreadRun()
| void BuildPatchServices::FCloudChunkSource::ThreadRun |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: