LeviLamina
Loading...
Searching...
No Matches
ThrottledFileWriteManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/Async.h"
7#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
12class AppPlatform;
13namespace Core::WriteThrottledOS { class OSWriteThrottleTracker; }
14class SceneFactory;
15// clang-format on
16
17class ThrottledFileWriteManager : public ::Bedrock::EnableNonOwnerReferences {
18public:
19 // ThrottledFileWriteManager inner types declare
20 // clang-format off
21 struct TransactionContext;
23 // clang-format on
24
25 // ThrottledFileWriteManager inner types define
26 struct TransactionContext {
27 public:
28 // member variables
29 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 TransactionContext& operator=(TransactionContext const&);
36 TransactionContext(TransactionContext const&);
37 TransactionContext();
38
39 public:
40 // member functions
41 // NOLINTBEGIN
42#ifdef LL_PLAT_C
43 MCNAPI ~TransactionContext();
44#endif
45 // NOLINTEND
46
47 public:
48 // destructor thunk
49 // NOLINTBEGIN
50#ifdef LL_PLAT_C
51 MCNAPI void $dtor();
52#endif
53 // NOLINTEND
54 };
55
56 struct TelemetryOperationInProgress {
57 public:
58 // member variables
59 // NOLINTBEGIN
66 // NOLINTEND
67
68 public:
69 // prevent constructor by default
70 TelemetryOperationInProgress& operator=(TelemetryOperationInProgress const&);
71 TelemetryOperationInProgress(TelemetryOperationInProgress const&);
72 TelemetryOperationInProgress();
73
74 public:
75 // member functions
76 // NOLINTBEGIN
77#ifdef LL_PLAT_C
78 MCNAPI ~TelemetryOperationInProgress();
79#endif
80 // NOLINTEND
81
82 public:
83 // destructor thunk
84 // NOLINTBEGIN
85#ifdef LL_PLAT_C
86 MCNAPI void $dtor();
87#endif
88 // NOLINTEND
89 };
90
91public:
92 // member variables
93 // NOLINTBEGIN
104 // NOLINTEND
105
106public:
107 // prevent constructor by default
108 ThrottledFileWriteManager& operator=(ThrottledFileWriteManager const&);
109 ThrottledFileWriteManager(ThrottledFileWriteManager const&);
110 ThrottledFileWriteManager();
111
112public:
113 // virtual functions
114 // NOLINTBEGIN
115#ifdef LL_PLAT_S
116 virtual ~ThrottledFileWriteManager() /*override*/ = default;
117#else // LL_PLAT_C
118 virtual ~ThrottledFileWriteManager() /*override*/;
119#endif
120
121 // NOLINTEND
122
123public:
124 // member functions
125 // NOLINTBEGIN
126#ifdef LL_PLAT_C
127 MCNAPI ThrottledFileWriteManager(
128 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
129 ::std::shared_ptr<::Core::WriteThrottledOS::OSWriteThrottleTracker> oSWriteThrottleTracker
130 );
131
132 MCNAPI ::Bedrock::Threading::Async<bool> beginLargeFileTransaction(
133 uint64 bytesToBeWritten,
134 ::std::string const& originatingSystem,
136 );
137
138 MCNAPI void emitTelemetryEvent(
139 ::std::string const& originatingSystem,
140 bool operationWasCancelled,
141 ::std::chrono::steady_clock::time_point operationCompleteTimestamp
142 );
143
144 MCNAPI ::Bedrock::Threading::Async<void> endLargeFileTransaction(::std::string const& originatingSystem);
145#endif
146 // NOLINTEND
147
148public:
149 // constructor thunks
150 // NOLINTBEGIN
151#ifdef LL_PLAT_C
152 MCNAPI void* $ctor(
153 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
154 ::std::shared_ptr<::Core::WriteThrottledOS::OSWriteThrottleTracker> oSWriteThrottleTracker
155 );
156#endif
157 // NOLINTEND
158
159public:
160 // destructor thunk
161 // NOLINTBEGIN
162 MCNAPI void $dtor();
163 // NOLINTEND
164
165public:
166 // vftables
167 // NOLINTBEGIN
168 MCNAPI static void** $vftable();
169 // NOLINTEND
170};
Definition AppPlatform.h:91
Definition EnableNonOwnerReferences.h:7
Definition OSWriteThrottleTracker.h:7
Definition SceneFactory.h:5
static MCAPI void ** $vftable()
Definition ThrottledFileWriteManager.h:56
Definition ThrottledFileWriteManager.h:26
Definition context.h:5
Definition Alias.h:14