LeviLamina
Loading...
Searching...
No Matches
RepeatingTaskHandle.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/webrtc/TaskQueueBase.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class Clock; }
12namespace webrtc { class Location; }
13namespace webrtc { class TaskQueueBase; }
14namespace webrtc { class TimeDelta; }
15// clang-format on
16
17namespace webrtc {
18
19class RepeatingTaskHandle {
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 RepeatingTaskHandle& operator=(RepeatingTaskHandle const&);
29 RepeatingTaskHandle(RepeatingTaskHandle const&);
30 RepeatingTaskHandle();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI bool Running() const;
36
37 MCNAPI void Stop();
38
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCNAPI static ::webrtc::RepeatingTaskHandle DelayedStart(
46 ::webrtc::TaskQueueBase* task_queue,
47 ::webrtc::TimeDelta first_delay,
49 ::webrtc::TaskQueueBase::DelayPrecision precision,
50 ::webrtc::Clock* clock,
51 ::webrtc::Location const& location
52 );
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60};
61
62} // namespace webrtc
Definition AnyInvocable.h:8
Definition Clock.h:13
Definition Location.h:7
MCAPI bool Running() const
static MCAPI ::webrtc::RepeatingTaskHandle DelayedStart(::webrtc::TaskQueueBase *task_queue, ::webrtc::TimeDelta first_delay, ::absl::AnyInvocable<::webrtc::TimeDelta()> closure, ::webrtc::TaskQueueBase::DelayPrecision precision, ::webrtc::Clock *clock, ::webrtc::Location const &location)
Definition TaskQueueBase.h:16
Definition TimeDelta.h:10
Definition Alias.h:14