LeviLamina
Loading...
Searching...
No Matches
WatchdogTimer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Scheduler;
8class TaskResult;
9class WorkerPool;
10// clang-format on
11
12class WatchdogTimer {
13public:
14 // member variables
15 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 WatchdogTimer& operator=(WatchdogTimer const&);
31 WatchdogTimer(WatchdogTimer const&);
32 WatchdogTimer();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI_C void _queueTaskWithoutLock();
38
39 MCNAPI_C ::TaskResult _watchdogTimerThreadRoutine();
40
41 MCNAPI_C void terminateWatchdogTimer();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCNAPI_C void* $ctor(
48 ::WorkerPool& workerPool,
49 ::Scheduler& scheduler,
50 ::std::chrono::nanoseconds timeout,
51 bool startPaused,
52 ::std::function<::std::chrono::steady_clock::time_point()> timeoutCallback,
53 ::std::chrono::nanoseconds deadline,
54 bool assertOnDeadline
55 );
56 // NOLINTEND
57};
Definition Scheduler.h:14
Definition TaskResult.h:5
Definition WorkerPool.h:19
Definition Alias.h:14