LeviLamina
Loading...
Searching...
No Matches
CrashManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
10class Scheduler;
11namespace Bedrock { class CrashFileProcessor; }
12namespace Bedrock { class CrashTelemetryProcessor; }
13namespace Bedrock { class WorkerPoolHandleInterface; }
14// clang-format on
15
16namespace Bedrock {
17
18class CrashManager : public ::Bedrock::EnableNonOwnerReferences, public ::Bedrock::ImplBase<::Bedrock::CrashManager> {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 1
23 virtual void initialize(::std::string_view) = 0;
24
25 // vIndex: 2
26 virtual void setCrashProcessorForFileType(::std::string_view, ::std::shared_ptr<::Bedrock::CrashFileProcessor>) = 0;
27
28 // vIndex: 3
29 virtual void setCrashTelemetryProcessor(::gsl::not_null<::Bedrock::CrashTelemetryProcessor*>) = 0;
30
31 // vIndex: 4
32 virtual void processCrashes(::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface>, ::Scheduler&, bool) = 0;
33
34 // vIndex: 5
35 virtual void notifyCrashed() = 0;
36
37 // vIndex: 6
38 virtual void notifyMemoryIssue(uint, ::std::string const&) = 0;
39
40 // vIndex: 7
41 virtual void recordCrashedSession(::std::string_view, ::std::string_view, int64) = 0;
42
43 // vIndex: 8
44 virtual void stopProcessingCrashes() = 0;
45
46 // vIndex: 9
47 virtual bool isCrashProcessingActive() const = 0;
48
49 // vIndex: 10
50 virtual ::std::string const& getCrashDataRoot() const = 0;
51
52 // vIndex: 11
53 virtual ::std::string const& getCrashedSessionFileSuffix() const = 0;
54
55 // vIndex: 0
56 virtual ~CrashManager() /*override*/ = default;
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68
69 // NOLINTEND
70};
71
72} // namespace Bedrock
Definition CrashManager.h:18
Definition EnableNonOwnerReferences.h:7
Definition _HeaderOutputPredefine.h:198
Definition Scheduler.h:13