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
10
namespace
webrtc {
class
Location; }
11
namespace
webrtc {
class
TimeDelta; }
12
// clang-format on
13
14
namespace
webrtc {
15
16
class
TaskQueueBase
{
17
public
:
18
// TaskQueueBase inner types declare
19
// clang-format off
20
class
CurrentTaskQueueSetter
;
21
struct
PostDelayedTaskTraits
;
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
33
struct
PostDelayedTaskTraits
{
34
public
:
35
// member variables
36
// NOLINTBEGIN
37
::ll::UntypedStorage<1, 1>
mUnk38e36a;
38
// NOLINTEND
39
40
public
:
41
// prevent constructor by default
42
PostDelayedTaskTraits
& operator=(
PostDelayedTaskTraits
const
&);
43
PostDelayedTaskTraits
(
PostDelayedTaskTraits
const
&);
44
PostDelayedTaskTraits
();
45
};
46
47
class
CurrentTaskQueueSetter
{
48
public
:
49
// member variables
50
// NOLINTBEGIN
51
::ll::UntypedStorage<8, 8>
mUnk543d91;
52
// NOLINTEND
53
54
public
:
55
// prevent constructor by default
56
CurrentTaskQueueSetter
& operator=(
CurrentTaskQueueSetter
const
&);
57
CurrentTaskQueueSetter
(
CurrentTaskQueueSetter
const
&);
58
CurrentTaskQueueSetter
();
59
60
public
:
61
// member functions
62
// NOLINTBEGIN
63
MCAPI
explicit
CurrentTaskQueueSetter
(
::webrtc::TaskQueueBase
*);
64
65
MCAPI
~CurrentTaskQueueSetter
();
66
// NOLINTEND
67
68
public
:
69
// constructor thunks
70
// NOLINTBEGIN
71
MCAPI
void
* $ctor(
::webrtc::TaskQueueBase
*);
72
// NOLINTEND
73
74
public
:
75
// destructor thunk
76
// NOLINTBEGIN
77
MCAPI
void
$dtor();
78
// NOLINTEND
79
};
80
81
public
:
82
// virtual functions
83
// NOLINTBEGIN
84
// vIndex: 0
85
virtual
void
Delete() = 0;
86
87
// vIndex: 1
88
virtual
void
89
PostTaskImpl(
::absl::AnyInvocable
<
void
() &&>,
::webrtc::TaskQueueBase::PostTaskTraits
const
&,
::webrtc::Location
const
&) = 0;
90
91
// vIndex: 2
92
virtual
void
93
PostDelayedTaskImpl(
::absl::AnyInvocable
<
void
() &&>,
::webrtc::TimeDelta
,
::webrtc::TaskQueueBase::PostDelayedTaskTraits
const
&,
::webrtc::Location
const
&) = 0;
94
95
// vIndex: 3
96
virtual
~TaskQueueBase
() =
default
;
97
// NOLINTEND
98
99
public
:
100
// member functions
101
// NOLINTBEGIN
102
MCAPI
void
PostDelayedTask(
103
::absl::AnyInvocable
<
void
() &&> task,
104
::webrtc::TimeDelta
delay,
105
::webrtc::Location
const
& location
106
);
107
108
MCAPI
void
109
PostDelayedTaskWithPrecision(::webrtc::TaskQueueBase::DelayPrecision,
::absl::AnyInvocable
<
void
() &&>,
::webrtc::TimeDelta
,
::webrtc::Location
const
&);
110
111
MCAPI
void
PostTask(
::absl::AnyInvocable
<
void
() &&> task,
::webrtc::Location
const
& location);
112
// NOLINTEND
113
114
public
:
115
// static functions
116
// NOLINTBEGIN
117
MCAPI static ::webrtc::TaskQueueBase* Current();
118
// NOLINTEND
119
120
public
:
121
// destructor thunk
122
// NOLINTBEGIN
123
124
// NOLINTEND
125
126
public
:
127
// virtual function thunks
128
// NOLINTBEGIN
129
130
// NOLINTEND
131
};
132
133
}
// namespace webrtc
absl::AnyInvocable
Definition
AnyInvocable.h:8
webrtc::Location
Definition
Location.h:7
webrtc::TaskQueueBase::CurrentTaskQueueSetter
Definition
TaskQueueBase.h:47
webrtc::TaskQueueBase
Definition
TaskQueueBase.h:16
webrtc::TimeDelta
Definition
TimeDelta.h:10
ll::UntypedStorage
Definition
Alias.h:14
webrtc::TaskQueueBase::PostDelayedTaskTraits
Definition
TaskQueueBase.h:33
webrtc::TaskQueueBase::PostTaskTraits
Definition
TaskQueueBase.h:31
src
mc
external
webrtc
TaskQueueBase.h
Generated on Sat Apr 26 2025 05:55:44 for LeviLamina by
1.12.0