LeviLamina
Loading...
Searching...
No Matches
DiskAccessTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/WriteOperation.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Core { class DiskAccessDiagnostics; }
11namespace Core { class PathView; }
12// clang-format on
13
14namespace Core {
15
17public:
18 // DiskAccessTracker inner types declare
19 // clang-format off
20 struct TrackerStats;
21 struct WriteOperation;
22 // clang-format on
23
24 // DiskAccessTracker inner types define
26 public:
27 // member variables
28 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 WriteOperation& operator=(WriteOperation const&);
39 };
40
41 struct TrackerStats {
42 public:
43 // member variables
44 // NOLINTBEGIN
52 // NOLINTEND
53
54 public:
55 // prevent constructor by default
56 TrackerStats& operator=(TrackerStats const&);
59 };
60
61public:
62 // member variables
63 // NOLINTBEGIN
78 // NOLINTEND
79
80public:
81 // prevent constructor by default
82 DiskAccessTracker& operator=(DiskAccessTracker const&);
85
86public:
87 // member functions
88 // NOLINTBEGIN
89 MCNAPI explicit DiskAccessTracker(::std::unique_ptr<::Core::DiskAccessDiagnostics> diagnostics);
90
91 MCNAPI void _addNewWriteOperation(uint64 amount, ::Core::WriteOperation writeOperation, ::Core::PathView path);
92
94 // NOLINTEND
95
96public:
97 // static functions
98 // NOLINTBEGIN
99 MCNAPI static ::Core::DiskAccessTracker& getDiskAccessTracker();
100 // NOLINTEND
101
102public:
103 // constructor thunks
104 // NOLINTBEGIN
105 MCNAPI void* $ctor(::std::unique_ptr<::Core::DiskAccessDiagnostics> diagnostics);
106 // NOLINTEND
107
108public:
109 // destructor thunk
110 // NOLINTBEGIN
111 MCNAPI void $dtor();
112 // NOLINTEND
113};
114
115} // namespace Core
Definition DiskAccessTracker.h:16
MCAPI void _addNewWriteOperation(uint64 amount, ::Core::WriteOperation writeOperation, ::Core::PathView path)
static MCAPI ::Core::DiskAccessTracker & getDiskAccessTracker()
MCAPI DiskAccessTracker(::std::unique_ptr<::Core::DiskAccessDiagnostics > diagnostics)
MCAPI void * $ctor(::std::unique_ptr<::Core::DiskAccessDiagnostics > diagnostics)
Definition PathView.h:15
Definition DiskAccessTracker.h:41
Definition DiskAccessTracker.h:25
Definition Alias.h:14