UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LinuxErrorReport.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
#include "
Containers/UnrealString.h
"
7
#include "
Internationalization/Text.h
"
8
#include "
GenericErrorReport.h
"
9
10
struct
FTimespan
;
11
15
class
FLinuxErrorReport
:
public
FGenericErrorReport
16
{
17
public
:
21
FLinuxErrorReport
()
22
{
23
}
24
29
explicit
FLinuxErrorReport
(
const
FString& Directory)
30
:
FGenericErrorReport
(Directory)
31
{
32
}
33
38
FText
DiagnoseReport
()
const
39
{
40
return
FText::FromString
(
"No local diagnosis on Linux"
);
41
}
42
47
static
void
FindMostRecentErrorReports
(
TArray<FString>
&
ErrorReportPaths
,
const
FTimespan
&
MaxCrashReportAge
)
48
{
49
// The report folder is currently always sent on the command-line on Linux
50
}
51
55
FString
FindCrashedAppPath
()
const
56
{
57
FString AppPath =
FPaths::Combine
(
FPrimaryCrashProperties::Get
()->BaseDir,
FPrimaryCrashProperties::Get
()->ExecutableName);
58
return
AppPath;
59
}
60
};
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
GenericErrorReport.h
Text.h
UnrealString.h
FGenericErrorReport
Definition
GenericErrorReport.h:20
FLinuxErrorReport
Definition
LinuxErrorReport.h:16
FLinuxErrorReport::FLinuxErrorReport
FLinuxErrorReport()
Definition
LinuxErrorReport.h:21
FLinuxErrorReport::FindCrashedAppPath
FString FindCrashedAppPath() const
Definition
LinuxErrorReport.h:55
FLinuxErrorReport::DiagnoseReport
FText DiagnoseReport() const
Definition
LinuxErrorReport.h:38
FLinuxErrorReport::FLinuxErrorReport
FLinuxErrorReport(const FString &Directory)
Definition
LinuxErrorReport.h:29
FLinuxErrorReport::FindMostRecentErrorReports
static void FindMostRecentErrorReports(TArray< FString > &ErrorReportPaths, const FTimespan &MaxCrashReportAge)
Definition
LinuxErrorReport.h:47
FPaths::Combine
static UE_FORCEINLINE_HINT FString Combine(PathTypes &&... InPaths)
Definition
Paths.h:737
FText
Definition
Text.h:385
FText::FromString
static CORE_API FText FromString(const ANSICHAR *String)
Definition
Text.cpp:1081
TArray
Definition
Array.h:670
FPrimaryCrashProperties::Get
static FPrimaryCrashProperties * Get()
Definition
CrashDescription.h:502
FTimespan
Definition
Timespan.h:76
Engine
Source
Runtime
CrashReportCore
Public
Linux
LinuxErrorReport.h
Generated by
1.9.8