LeviLamina
Loading...
Searching...
No Matches
IWatchdog.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/runtime/watchdog/WatchdogSettings.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
namespace
Scripting {
struct
ContextId; }
11
namespace
Scripting {
struct
WatchdogEvent; }
12
// clang-format on
13
14
namespace
Scripting {
15
16
class
IWatchdog
{
17
public
:
18
// IWatchdog inner types define
19
using
WatchdogEventHandler = ::std::function<void(
::Scripting::WatchdogEvent
)>;
20
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<4, 32, ::Scripting::WatchdogSettings> mSettings;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
// vIndex: 0
31
virtual
~IWatchdog
() =
default
;
32
33
// vIndex: 1
34
virtual
void
setWatchdogEventHandler(::std::function<
void
(
::Scripting::WatchdogEvent
)>) = 0;
35
36
// vIndex: 2
37
virtual
void
beginTiming(
::Scripting::ContextId
) = 0;
38
39
// vIndex: 3
40
virtual
void
endTiming(
::Scripting::ContextId
) = 0;
41
42
// vIndex: 4
43
virtual
void
pushPhase(::std::string
const
&, ::std::chrono::microseconds) = 0;
44
45
// vIndex: 5
46
virtual
void
popPhase() = 0;
47
48
// vIndex: 6
49
virtual
void
endFrame() = 0;
50
51
// vIndex: 7
52
virtual
void
resetTimings() = 0;
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
59
// NOLINTEND
60
};
61
62
}
// namespace Scripting
Scripting::IWatchdog
Definition
IWatchdog.h:16
Scripting::ContextId
Definition
ContextId.h:7
Scripting::WatchdogEvent
Definition
WatchdogEvent.h:11
src
mc
deps
scripting
runtime
watchdog
IWatchdog.h
Generated on Wed Aug 27 2025 11:39:38 for LeviLamina by
1.12.0