LeviLamina
Loading...
Searching...
No Matches
ScriptDiagnosticsPublishToFile.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/FlushingIOController.h"
7#include "mc/scripting/diagnostics/IScriptStatPublisher.h"
8
9// auto generated forward declare list
10// clang-format off
11class ScriptStat;
12namespace Core { class Path; }
13namespace Core { class Result; }
14// clang-format on
15
17public:
18 // ScriptDiagnosticsPublishToFile inner types declare
19 // clang-format off
20 class StreamFlusher;
21 // clang-format on
22
23 // ScriptDiagnosticsPublishToFile inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 StreamFlusher& operator=(StreamFlusher const&);
38
39 public:
40 // virtual functions
41 // NOLINTBEGIN
42 // vIndex: 0
43 virtual ~StreamFlusher() /*override*/ = default;
44
45 // vIndex: 1
46 virtual ::Core::Result _flushBuffer(void const* data, uint64 amount) /*override*/;
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55 public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::Core::Result $_flushBuffer(void const* data, uint64 amount);
59 // NOLINTEND
60
61 public:
62 // vftables
63 // NOLINTBEGIN
64 MCAPI static void** $vftable();
65 // NOLINTEND
66 };
67
68public:
69 // member variables
70 // NOLINTBEGIN
78 // NOLINTEND
79
80public:
81 // prevent constructor by default
85
86public:
87 // virtual functions
88 // NOLINTBEGIN
89 // vIndex: 0
90 virtual ~ScriptDiagnosticsPublishToFile() /*override*/ = default;
91
92 // vIndex: 1
93 virtual bool isStatPublisherEnabled() const /*override*/;
94
95 // vIndex: 2
96 virtual void publishStats(uint64 collectedTick, ::std::vector<::ScriptStat> const& stats) /*override*/;
97 // NOLINTEND
98
99public:
100 // member functions
101 // NOLINTBEGIN
102 MCAPI bool _createNewCapture(::Core::Path capturePath);
103
104 MCAPI bool _cyclePreviousCaptures();
105
106 MCAPI ::Core::Path _getCapturePath(int captureIndex) const;
107
108 MCAPI bool _initBasePath();
109
110 MCAPI bool startCapture();
111
112 MCAPI ::std::optional<::Core::Path> stopCapture();
113 // NOLINTEND
114
115public:
116 // destructor thunk
117 // NOLINTBEGIN
118
119 // NOLINTEND
120
121public:
122 // virtual function thunks
123 // NOLINTBEGIN
124 MCFOLD bool $isStatPublisherEnabled() const;
125
126 MCAPI void $publishStats(uint64 collectedTick, ::std::vector<::ScriptStat> const& stats);
127 // NOLINTEND
128
129public:
130 // vftables
131 // NOLINTBEGIN
132 MCAPI static void** $vftable();
133 // NOLINTEND
134};
Definition FlushingIOController.h:20
Definition IScriptStatPublisher.h:10
Definition Path.h:16
Definition Result.h:6
Definition ScriptDiagnosticsPublishToFile.h:24
Definition ScriptDiagnosticsPublishToFile.h:16
Definition ScriptStat.h:5
STL namespace.
Definition Alias.h:14