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
43 // NOLINTEND
44
45 public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCNAPI_C void $dtor();
49 // NOLINTEND
50 };
51
52 struct TelemetryOperationInProgress {
53 public:
54 // member variables
55 // NOLINTBEGIN
62 // NOLINTEND
63
64 public:
65 // prevent constructor by default
66 TelemetryOperationInProgress& operator=(TelemetryOperationInProgress const&);
67 TelemetryOperationInProgress(TelemetryOperationInProgress const&);
68 TelemetryOperationInProgress();
69
70 public:
71 // member functions
72 // NOLINTBEGIN
73
74 // NOLINTEND
75
76 public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCNAPI_C void $dtor();
80 // NOLINTEND
81 };
82
83public:
84 // member variables
85 // NOLINTBEGIN
96 // NOLINTEND
97
98public:
99 // prevent constructor by default
100 ThrottledFileWriteManager& operator=(ThrottledFileWriteManager const&);
101 ThrottledFileWriteManager(ThrottledFileWriteManager const&);
102 ThrottledFileWriteManager();
103
104public:
105 // virtual functions
106 // NOLINTBEGIN
107#ifdef LL_PLAT_S
108 virtual ~ThrottledFileWriteManager() /*override*/ = default;
109#else // LL_PLAT_C
110 virtual ~ThrottledFileWriteManager() /*override*/;
111#endif
112
113 // NOLINTEND
114
115public:
116 // member functions
117 // NOLINTBEGIN
118 MCNAPI_C ::Bedrock::Threading::Async<bool> beginLargeFileTransaction(
119 uint64 bytesToBeWritten,
120 ::std::string const& originatingSystem,
122 );
123
124 MCNAPI_C void emitTelemetryEvent(
125 ::std::string const& originatingSystem,
126 bool operationWasCancelled,
127 ::std::chrono::steady_clock::time_point operationCompleteTimestamp
128 );
129
130 MCNAPI_C ::Bedrock::Threading::Async<void> endLargeFileTransaction(::std::string const& originatingSystem);
131 // NOLINTEND
132
133public:
134 // constructor thunks
135 // NOLINTBEGIN
136 MCNAPI_C void* $ctor(
137 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
138 ::std::shared_ptr<::Core::WriteThrottledOS::OSWriteThrottleTracker> oSWriteThrottleTracker
139 );
140 // NOLINTEND
141
142public:
143 // destructor thunk
144 // NOLINTBEGIN
145 MCNAPI void $dtor();
146 // NOLINTEND
147
148public:
149 // vftables
150 // NOLINTBEGIN
151 MCNAPI static void** $vftable();
152 // NOLINTEND
153};
Definition AppPlatform.h:90
Definition EnableNonOwnerReferences.h:7
Definition OSWriteThrottleTracker.h:7
Definition SceneFactory.h:5
static MCAPI void ** $vftable()
Definition ThrottledFileWriteManager.h:52
Definition ThrottledFileWriteManager.h:26
Definition context.h:5
Definition Alias.h:14