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 rtc { class Thread; }
8// clang-format on
9
10namespace rtc {
11
13public:
14 // member variables
15 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 ThreadManager& operator=(ThreadManager const&);
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI void AddInternal(::rtc::Thread*);
30
31 MCAPI ::rtc::Thread* CurrentThread();
32
33 MCAPI void RemoveInternal(::rtc::Thread*);
34
35 MCAPI void SetCurrentThread(::rtc::Thread*);
36
37 MCAPI void SetCurrentThreadInternal(::rtc::Thread*);
38
39 MCAPI ThreadManager();
40
41 MCAPI void UnwrapCurrentThread();
42
43 MCAPI ::rtc::Thread* WrapCurrentThread();
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void Add(::rtc::Thread*);
50
51 MCAPI static ::rtc::ThreadManager* Instance();
52
53 MCAPI static void Remove(::rtc::Thread*);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor();
60 // NOLINTEND
61};
62
63} // namespace rtc
Definition ThreadManager.h:12
Definition Thread.h:20
Definition Alias.h:14