LeviLamina
Loading...
Searching...
No Matches
ThreadManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace webrtc { class Thread; }
8// clang-format on
9
10namespace webrtc {
11
12class ThreadManager {
13public:
14 // member variables
15 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 ThreadManager& operator=(ThreadManager const&);
24 ThreadManager(ThreadManager const&);
25 ThreadManager();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI ::webrtc::Thread* CurrentThread();
31
32 MCNAPI void SetCurrentThread(::webrtc::Thread* thread);
33
34 MCNAPI void UnwrapCurrentThread();
35
36 MCNAPI ::webrtc::Thread* WrapCurrentThread();
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCNAPI static void Add(::webrtc::Thread* message_queue);
43
44 MCNAPI static ::webrtc::ThreadManager* Instance();
45
46 MCNAPI static void Remove(::webrtc::Thread* message_queue);
47 // NOLINTEND
48};
49
50} // namespace webrtc
static MCAPI void Remove(::webrtc::Thread *message_queue)
MCAPI void UnwrapCurrentThread()
MCAPI::webrtc::Thread * WrapCurrentThread()
static MCAPI ::webrtc::ThreadManager * Instance()
MCAPI void SetCurrentThread(::webrtc::Thread *thread)
static MCAPI void Add(::webrtc::Thread *message_queue)
MCAPI::webrtc::Thread * CurrentThread()
Definition Thread.h:20
Definition Alias.h:14