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
10namespace Scripting { struct ContextId; }
11namespace Scripting { struct WatchdogEvent; }
12// clang-format on
13
14namespace Scripting {
15
16class IWatchdog {
17public:
18 // IWatchdog inner types define
19 using WatchdogEventHandler = ::std::function<void(::Scripting::WatchdogEvent)>;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 32, ::Scripting::WatchdogSettings> mSettings;
25 // NOLINTEND
26
27public:
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
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58
59 // NOLINTEND
60};
61
62} // namespace Scripting
Definition IWatchdog.h:16
Definition ContextId.h:7
Definition WatchdogEvent.h:11