engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IBuildInstaller类 参考abstract

Interface to a Build Installer, exposes installation control, progress, and state information. 更多...

#include <IBuildInstaller.h>

Public 成员函数

virtual void CancelInstall ()=0
 Cancel the current install
 
virtual bool CompletedSuccessfully () const =0
 Get whether the process was successfully complete, meaning no errors, and was not cancelled. 更多...
 
virtual FBuildInstallStats GetBuildStatistics () const =0
 Get the build stats for the process. 更多...
 
virtual const BuildPatchServices::FBuildInstallerConfiguration & GetConfiguration () const =0
 Get the installation configuration object 更多...
 
virtual EBuildPatchDownloadHealth GetDownloadHealth () const =0
 Get the current download health rating. 更多...
 
virtual double GetDownloadSpeed () const =0
 Get the download speed for the current process 更多...
 
virtual FString GetErrorCode () const =0
 Get the installation error code. 更多...
 
virtual FText GetErrorText () const =0
 Get the display text for the error that occurred. 更多...
 
virtual EBuildPatchInstallError GetErrorType () const =0
 Get the type of error for a failure that has occurred. 更多...
 
virtual BuildPatchServices::EBuildPatchState GetState () const =0
 Get the status of the install process. 更多...
 
virtual int64 GetTotalDownloaded () const =0
 Get the total bytes downloaded 更多...
 
virtual int64 GetTotalDownloadRequired () const =0
 Get the total download bytes required to complete 更多...
 
virtual float GetUpdateProgress () const =0
 Get the update progress 更多...
 
virtual bool HasError () const =0
 Get whether the install failed. 更多...
 
virtual bool IsCanceled () const =0
 Get whether the install was canceled. 更多...
 
virtual bool IsComplete () const =0
 Get whether the install has complete 更多...
 
virtual bool IsPaused () const =0
 Get whether the install is currently paused. 更多...
 
virtual bool IsResumable () const =0
 Get whether the install can be resumed. 更多...
 
virtual bool IsUpdate () const =0
 Get whether the install is performing an update of an existing install. 更多...
 
virtual void RegisterMessageHandler (BuildPatchServices::FMessageHandler *MessageHandler)=0
 Registers a message handler with the installer. 更多...
 
virtual bool StartInstallation ()=0
 Begin the installation process. 更多...
 
virtual bool TogglePauseInstall ()=0
 Toggle the install paused state 更多...
 
virtual void UnregisterMessageHandler (BuildPatchServices::FMessageHandler *MessageHandler)=0
 Unregisters a message handler, will no longer receive HandleMessage calls. 更多...
 
virtual ~IBuildInstaller ()
 Virtual destructor.
 

详细描述

Interface to a Build Installer, exposes installation control, progress, and state information.

成员函数说明

◆ CompletedSuccessfully()

virtual bool IBuildInstaller::CompletedSuccessfully ( ) const
pure virtual

Get whether the process was successfully complete, meaning no errors, and was not cancelled.

Only valid if complete.

返回
true if installation process completed successfully.

◆ GetBuildStatistics()

virtual FBuildInstallStats IBuildInstaller::GetBuildStatistics ( ) const
pure virtual

Get the build stats for the process.

This should only be called after the install has completed

返回
A struct containing information about the build

◆ GetConfiguration()

virtual const BuildPatchServices::FBuildInstallerConfiguration & IBuildInstaller::GetConfiguration ( ) const
pure virtual

Get the installation configuration object

返回
a const reference to the configuration

◆ GetDownloadHealth()

virtual EBuildPatchDownloadHealth IBuildInstaller::GetDownloadHealth ( ) const
pure virtual

Get the current download health rating.

返回
the enum representing the download health

◆ GetDownloadSpeed()

virtual double IBuildInstaller::GetDownloadSpeed ( ) const
pure virtual

Get the download speed for the current process

返回
download speed progress

◆ GetErrorCode()

virtual FString IBuildInstaller::GetErrorCode ( ) const
pure virtual

Get the installation error code.

This includes the failure type as well as specific code associated. The value is alphanumeric. This is only guaranteed to be set once the installation has completed.

返回
the code as a string.

◆ GetErrorText()

virtual FText IBuildInstaller::GetErrorText ( ) const
pure virtual

Get the display text for the error that occurred.

Only valid to call after completion

返回
display error text

◆ GetErrorType()

virtual EBuildPatchInstallError IBuildInstaller::GetErrorType ( ) const
pure virtual

Get the type of error for a failure that has occurred.

返回
the enum representing the type of error

◆ GetState()

virtual BuildPatchServices::EBuildPatchState IBuildInstaller::GetState ( ) const
pure virtual

Get the status of the install process.

返回
Status of the install process.

◆ GetTotalDownloaded()

virtual int64 IBuildInstaller::GetTotalDownloaded ( ) const
pure virtual

Get the total bytes downloaded

返回
the total bytes downloaded

◆ GetTotalDownloadRequired()

virtual int64 IBuildInstaller::GetTotalDownloadRequired ( ) const
pure virtual

Get the total download bytes required to complete

返回
the total required bytes

◆ GetUpdateProgress()

virtual float IBuildInstaller::GetUpdateProgress ( ) const
pure virtual

Get the update progress

返回
A float describing progress: Between 0 and 1 for known progress, or less than 0 for unknown progress.

◆ HasError()

virtual bool IBuildInstaller::HasError ( ) const
pure virtual

Get whether the install failed.

Only valid if complete.

返回
true if installation was a failure

◆ IsCanceled()

virtual bool IBuildInstaller::IsCanceled ( ) const
pure virtual

Get whether the install was canceled.

Only valid if complete.

返回
true if installation was canceled

◆ IsComplete()

virtual bool IBuildInstaller::IsComplete ( ) const
pure virtual

Get whether the install has complete

返回
true if the thread completed

◆ IsPaused()

virtual bool IBuildInstaller::IsPaused ( ) const
pure virtual

Get whether the install is currently paused.

返回
true if installation is paused

◆ IsResumable()

virtual bool IBuildInstaller::IsResumable ( ) const
pure virtual

Get whether the install can be resumed.

返回
true if installation is resumable

◆ IsUpdate()

virtual bool IBuildInstaller::IsUpdate ( ) const
pure virtual

Get whether the install is performing an update of an existing install.

返回
true if installation is an update

◆ RegisterMessageHandler()

virtual void IBuildInstaller::RegisterMessageHandler ( BuildPatchServices::FMessageHandler *  MessageHandler)
pure virtual

Registers a message handler with the installer.

参数
MessageHandlerPtr to the message handler to add. Must not be null.

◆ StartInstallation()

virtual bool IBuildInstaller::StartInstallation ( )
pure virtual

Begin the installation process.

返回
true if the installation started successfully, or is already running.

◆ TogglePauseInstall()

virtual bool IBuildInstaller::TogglePauseInstall ( )
pure virtual

Toggle the install paused state

返回
true if the installer is now paused

◆ UnregisterMessageHandler()

virtual void IBuildInstaller::UnregisterMessageHandler ( BuildPatchServices::FMessageHandler *  MessageHandler)
pure virtual

Unregisters a message handler, will no longer receive HandleMessage calls.

参数
MessageHandlerPtr to the message handler to remove.

该类的文档由以下文件生成: