LeviLamina
Loading...
Searching...
No Matches
DebuggerStatCollector.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
12class DebuggerStat;
13// clang-format on
14
15class DebuggerStatCollector {
16public:
17 // member variables
18 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 DebuggerStatCollector& operator=(DebuggerStatCollector const&);
36 DebuggerStatCollector(DebuggerStatCollector const&);
37 DebuggerStatCollector();
38
39public:
40 // member functions
41 // NOLINTBEGIN
43 uint64 updateFrequency,
44 ::std::function<::std::optional<::DebuggerStat>(uint64, uint64, uint64)> collectFn,
45 ::std::function<void()> enableFn,
46 ::std::function<void()> disableFn,
47 ::std::function<void(bool)> reloadFn
48 );
49
52 uint64 updateFrequency,
53 ::std::function<::std::optional<::DebuggerStat>(uint64, uint64, uint64)> collectFn,
54 ::std::function<void()> enableFn,
55 ::std::function<void()> disableFn,
56 ::std::function<void(bool)> reloadFn
57 );
58
59 MCNAPI ::DebuggerStatCollector& addView(::DebuggerDiagnosticsView descriptor);
60
61 MCNAPI void tick(uint64 currentTick, ::std::vector<::DebuggerStat>& statsOut);
62
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor(
70 uint64 updateFrequency,
71 ::std::function<::std::optional<::DebuggerStat>(uint64, uint64, uint64)> collectFn,
72 ::std::function<void()> enableFn,
73 ::std::function<void()> disableFn,
74 ::std::function<void(bool)> reloadFn
75 );
76
77 MCNAPI void* $ctor(
79 uint64 updateFrequency,
80 ::std::function<::std::optional<::DebuggerStat>(uint64, uint64, uint64)> collectFn,
81 ::std::function<void()> enableFn,
82 ::std::function<void()> disableFn,
83 ::std::function<void(bool)> reloadFn
84 );
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCNAPI void $dtor();
91 // NOLINTEND
92};
Definition NonOwnerPointer.h:9
Definition DebuggerDiagnosticsView.h:10
Definition DebuggerDiagnostics.h:14
MCAPI void tick(uint64 currentTick, ::std::vector<::DebuggerStat > &statsOut)
MCAPI::DebuggerStatCollector & addView(::DebuggerDiagnosticsView descriptor)
MCAPI DebuggerStatCollector(::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > diagnostics, uint64 updateFrequency, ::std::function<::std::optional<::DebuggerStat >(uint64, uint64, uint64)> collectFn, ::std::function< void()> enableFn, ::std::function< void()> disableFn, ::std::function< void(bool)> reloadFn)
MCAPI void * $ctor(::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > diagnostics, uint64 updateFrequency, ::std::function<::std::optional<::DebuggerStat >(uint64, uint64, uint64)> collectFn, ::std::function< void()> enableFn, ::std::function< void()> disableFn, ::std::function< void(bool)> reloadFn)
MCAPI DebuggerStatCollector(uint64 updateFrequency, ::std::function<::std::optional<::DebuggerStat >(uint64, uint64, uint64)> collectFn, ::std::function< void()> enableFn, ::std::function< void()> disableFn, ::std::function< void(bool)> reloadFn)
MCAPI void * $ctor(uint64 updateFrequency, ::std::function<::std::optional<::DebuggerStat >(uint64, uint64, uint64)> collectFn, ::std::function< void()> enableFn, ::std::function< void()> disableFn, ::std::function< void(bool)> reloadFn)
MCAPI ~DebuggerStatCollector()
Definition DebuggerStat.h:10
Definition Alias.h:14