LeviLamina
Loading...
Searching...
No Matches
TaskQueueBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/absl/AnyInvocable.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class Location; }
11namespace webrtc { class TimeDelta; }
12// clang-format on
13
14namespace webrtc {
15
17public:
18 // TaskQueueBase inner types declare
19 // clang-format off
22 struct PostTaskTraits;
23 // clang-format on
24
25 // TaskQueueBase inner types define
26 enum class DelayPrecision : int {
27 KLow = 0,
28 KHigh = 1,
29 };
30
31 struct PostTaskTraits {};
32
34 public:
35 // member variables
36 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
45 };
46
48 public:
49 // member variables
50 // NOLINTBEGIN
52 // NOLINTEND
53
54 public:
55 // prevent constructor by default
59
60 public:
61 // member functions
62 // NOLINTBEGIN
64
66 // NOLINTEND
67
68 public:
69 // constructor thunks
70 // NOLINTBEGIN
72 // NOLINTEND
73
74 public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCNAPI void $dtor();
78 // NOLINTEND
79 };
80
81public:
82 // virtual functions
83 // NOLINTBEGIN
84 // vIndex: 0
85 virtual void Delete() = 0;
86
87 // vIndex: 1
88 virtual void PostTaskImpl(
89 ::absl::AnyInvocable<void() &&>,
92 ) = 0;
93
94 // vIndex: 2
95 virtual void PostDelayedTaskImpl(
96 ::absl::AnyInvocable<void() &&>,
100 ) = 0;
101
102 // vIndex: 3
103 virtual ~TaskQueueBase() = default;
104 // NOLINTEND
105
106public:
107 // member functions
108 // NOLINTBEGIN
109 MCNAPI void PostDelayedTask(
110 ::absl::AnyInvocable<void() &&> task,
112 ::webrtc::Location const& location
113 );
114
116 ::webrtc::TaskQueueBase::DelayPrecision,
117 ::absl::AnyInvocable<void() &&>,
119 ::webrtc::Location const&
120 );
121
122 MCNAPI void PostTask(::absl::AnyInvocable<void() &&> task, ::webrtc::Location const& location);
123 // NOLINTEND
124
125public:
126 // static functions
127 // NOLINTBEGIN
128 MCNAPI static ::webrtc::TaskQueueBase* Current();
129 // NOLINTEND
130
131public:
132 // virtual function thunks
133 // NOLINTBEGIN
134
135 // NOLINTEND
136};
137
138} // namespace webrtc
Definition AnyInvocable.h:8
Definition Location.h:7
MCAPI CurrentTaskQueueSetter(::webrtc::TaskQueueBase *)
MCAPI void * $ctor(::webrtc::TaskQueueBase *)
Definition TaskQueueBase.h:16
MCAPI void PostTask(::absl::AnyInvocable< void() && > task, ::webrtc::Location const &location)
static MCAPI ::webrtc::TaskQueueBase * Current()
MCAPI void PostDelayedTaskWithPrecision(::webrtc::TaskQueueBase::DelayPrecision, ::absl::AnyInvocable< void() && >, ::webrtc::TimeDelta, ::webrtc::Location const &)
MCAPI void PostDelayedTask(::absl::AnyInvocable< void() && > task, ::webrtc::TimeDelta delay, ::webrtc::Location const &location)
Definition TimeDelta.h:10
Definition Alias.h:14
Definition TaskQueueBase.h:31