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