LeviLamina
Loading...
Searching...
No Matches
PendingTaskSafetyFlag.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/RefCountedNonVirtual.h"
7#include "mc/external/webrtc/scoped_refptr.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class TaskQueueBase; }
12// clang-format on
13
14namespace webrtc {
15
16class PendingTaskSafetyFlag : public ::rtc::RefCountedNonVirtual<::webrtc::PendingTaskSafetyFlag> {
17public:
18 // member variables
19 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI void SetAlive();
34
35 MCAPI void SetNotAlive();
36
37 MCAPI bool alive() const;
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag> Create();
44
45 MCAPI static ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag>
46 CreateAttachedToTaskQueue(bool, ::webrtc::TaskQueueBase*);
47
48 MCAPI static ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag> CreateDetached();
49
50 MCAPI static ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag> CreateDetachedInactive();
51
52 MCAPI static ::webrtc::scoped_refptr<::webrtc::PendingTaskSafetyFlag> CreateInternal(bool);
53 // NOLINTEND
54};
55
56} // namespace webrtc
Definition RefCountedNonVirtual.h:8
Definition PendingTaskSafetyFlag.h:16
Definition TaskQueueBase.h:16
Definition Alias.h:14