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
71 MCAPI void* $ctor(::webrtc::TaskQueueBase*);
72 // NOLINTEND
73
74 public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI 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
89 PostTaskImpl(::absl::AnyInvocable<void() &&>, ::webrtc::TaskQueueBase::PostTaskTraits const&, ::webrtc::Location const&) = 0;
90
91 // vIndex: 2
92 virtual void
94
95 // vIndex: 3
96 virtual ~TaskQueueBase() = default;
97 // NOLINTEND
98
99public:
100 // member functions
101 // NOLINTBEGIN
102 MCAPI void PostDelayedTask(
103 ::absl::AnyInvocable<void() &&> task,
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
114public:
115 // static functions
116 // NOLINTBEGIN
117 MCAPI static ::webrtc::TaskQueueBase* Current();
118 // NOLINTEND
119
120public:
121 // destructor thunk
122 // NOLINTBEGIN
123
124 // NOLINTEND
125
126public:
127 // virtual function thunks
128 // NOLINTBEGIN
129
130 // NOLINTEND
131};
132
133} // namespace webrtc
Definition AnyInvocable.h:8
Definition Location.h:7
Definition TaskQueueBase.h:16
Definition TimeDelta.h:10
Definition Alias.h:14
Definition TaskQueueBase.h:31