LeviLamina
Loading...
Searching...
No Matches
CrashManagerImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/crash_manager/CrashManager.h"
7#include "mc/deps/core/file/PathBuffer.h"
8#include "mc/deps/core/threading/IAsyncResult.h"
9
10// auto generated forward declare list
11// clang-format off
12class Scheduler;
13namespace Bedrock { class CrashFileProcessor; }
14namespace Bedrock { class CrashTelemetryProcessor; }
15namespace Bedrock { class WorkerPoolHandleInterface; }
16// clang-format on
17
18namespace Bedrock {
19
21public:
22 // CrashManagerImpl inner types declare
23 // clang-format off
24 struct CrashProcessorInfo;
25 struct CrashedSessionInfo;
26 // clang-format on
27
28 // CrashManagerImpl inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 CrashProcessorInfo& operator=(CrashProcessorInfo const&);
42 };
43
45 public:
46 // member variables
47 // NOLINTBEGIN
51 // NOLINTEND
52
53 public:
54 // prevent constructor by default
55 CrashedSessionInfo& operator=(CrashedSessionInfo const&);
58 };
59
60public:
61 // member variables
62 // NOLINTBEGIN
77 // NOLINTEND
78
79public:
80 // prevent constructor by default
81 CrashManagerImpl& operator=(CrashManagerImpl const&);
84
85public:
86 // virtual functions
87 // NOLINTBEGIN
88 // vIndex: 0
89 virtual ~CrashManagerImpl() /*override*/ = default;
90
91 // vIndex: 1
92 virtual void initialize(::std::string_view) /*override*/;
93
94 // vIndex: 2
95 virtual void
96 setCrashProcessorForFileType(::std::string_view, ::std::shared_ptr<::Bedrock::CrashFileProcessor>) /*override*/;
97
98 // vIndex: 3
99 virtual void setCrashTelemetryProcessor(::gsl::not_null<::Bedrock::CrashTelemetryProcessor*>) /*override*/;
100
101 // vIndex: 4
102 virtual void
103 processCrashes(::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface>, ::Scheduler&, bool) /*override*/;
104
105 // vIndex: 5
106 virtual void notifyCrashed() /*override*/;
107
108 // vIndex: 6
109 virtual void notifyMemoryIssue(uint, ::std::string const&) /*override*/;
110
111 // vIndex: 7
112 virtual void recordCrashedSession(::std::string_view, ::std::string_view, int64) /*override*/;
113
114 // vIndex: 8
115 virtual void stopProcessingCrashes() /*override*/;
116
117 // vIndex: 9
118 virtual bool isCrashProcessingActive() const /*override*/;
119
120 // vIndex: 10
121 virtual ::std::string const& getCrashDataRoot() const /*override*/;
122
123 // vIndex: 11
124 virtual ::std::string const& getCrashedSessionFileSuffix() const /*override*/;
125 // NOLINTEND
126
127public:
128 // destructor thunk
129 // NOLINTBEGIN
130
131 // NOLINTEND
132
133public:
134 // virtual function thunks
135 // NOLINTBEGIN
136
137 // NOLINTEND
138};
139
140} // namespace Bedrock
Definition CrashManagerImpl.h:20
Definition CrashManager.h:18
Definition Scheduler.h:13
STL namespace.
Definition CrashManagerImpl.h:29
Definition CrashManagerImpl.h:44
Definition Alias.h:14