engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Protected 属性 | 所有成员列表
FGenericErrorReport类 参考

Helper that works with Windows Error Reports 更多...

#include <GenericErrorReport.h>

+ 类 FGenericErrorReport 继承关系图:

Public 成员函数

void DeleteFiles ()
 Delete files from disk
 
 FGenericErrorReport ()
 Default constructor: creates a report with no files
 
 FGenericErrorReport (const FString &Directory)
 Discover all files in the crash report directory 更多...
 
FString FindCrashedAppName () const
 Get the name of the crashed app from the report
 
FString FindCrashedAppPath () const
 Get the full path of the crashed app from the report
 
bool FindFirstReportFileWithExtension (FString &OutFilename, const TCHAR *Extension) const
 Look thought the list of report files to find one with the given extension 更多...
 
TArray< FString > GetFilesToUpload () const
 Provide full paths to all the report files 更多...
 
FString GetReportDirectory () const
 Provide the full path of the error report directory
 
FString GetReportDirectoryLeafName () const
 Provide the name of the error report directory
 
bool HasFilesToUpload () const
 Is there anything to upload?
 
bool LoadWindowsReportXmlFile (FString &OutString) const
 Load the WER XML file for this report 更多...
 
void SetCrashReportClientVersion (const FString &InVersion)
 Sets the version string in the error report and saves the change
 
void SetPrimaryCrashProperties (FPrimaryCrashProperties &out_PrimaryCrashProperties)
 Sets properties specific to the processed crash. 更多...
 
bool SetUserComment (const FText &UserComment)
 Write the provided comment into the error report 更多...
 
bool TryReadDiagnosticsFile ()
 

静态 Public 成员函数

static void Init ()
 One-time initialisation: does nothing by default
 
static void ShutDown ()
 One-time clean-up: does nothing by default
 

Protected 属性

bool bValidCallstack
 Whether the error report generated an valid callstack.
 
FString ReportDirectory
 Full path to the directory the report files are in
 
TArray< FString > ReportFilenames
 List of leaf filenames of all the files in the report folder
 

详细描述

Helper that works with Windows Error Reports

构造及析构函数说明

◆ FGenericErrorReport()

FGenericErrorReport::FGenericErrorReport ( const FString &  Directory)
explicit

Discover all files in the crash report directory

参数
DirectoryFull path to directory containing the report

成员函数说明

◆ FindFirstReportFileWithExtension()

bool FGenericErrorReport::FindFirstReportFileWithExtension ( FString &  OutFilename,
const TCHAR *  Extension 
) const

Look thought the list of report files to find one with the given extension

返回
Whether a file with the extension was found

◆ GetFilesToUpload()

TArray< FString > FGenericErrorReport::GetFilesToUpload ( ) const

Provide full paths to all the report files

返回
List of paths

◆ LoadWindowsReportXmlFile()

bool FGenericErrorReport::LoadWindowsReportXmlFile ( FString &  OutString) const

Load the WER XML file for this report

注解
This is Windows specific and so shouldn't really be part of the public interface, but currently the server is Windows-specific in its checking of reports, so this is needed.
参数
OutStringString to load the file into
返回
Whether finding and loading the file succeeded

◆ SetPrimaryCrashProperties()

void FGenericErrorReport::SetPrimaryCrashProperties ( FPrimaryCrashProperties &  out_PrimaryCrashProperties)

Sets properties specific to the processed crash.

Used to convert the old data into the crash context format.

◆ SetUserComment()

bool FGenericErrorReport::SetUserComment ( const FText &  UserComment)

Write the provided comment into the error report

参数
UserCommentInformation provided by the user to add to the report
返回
Whether the comment was successfully written to the report

◆ TryReadDiagnosticsFile()

bool FGenericErrorReport::TryReadDiagnosticsFile ( )
返回
Whether the file was found and successfully read

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