3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/absl/AnyInvocable.h"
7#include "mc/external/webrtc/FunctionView.h"
8#include "mc/external/webrtc/TaskQueueBase.h"
40 CurrentThreadSetter& operator=(CurrentThreadSetter
const&);
41 CurrentThreadSetter(CurrentThreadSetter
const&);
42 CurrentThreadSetter();
45 struct DelayedMessage {
57 DelayedMessage& operator=(DelayedMessage
const&);
58 DelayedMessage(DelayedMessage
const&);
84 class ScopedDisallowBlockingCalls {
94 ScopedDisallowBlockingCalls& operator=(ScopedDisallowBlockingCalls
const&);
141 Thread& operator=(Thread
const&);
142 Thread(Thread
const&);
152 virtual bool IsQuitting();
154 virtual void Restart();
156 virtual bool IsProcessingMessagesForTesting();
158 virtual int GetDelay();
164 virtual void Delete() ;
166 virtual void PostTaskImpl(
172 virtual void PostDelayedTaskImpl(
195 MCNAPI ::absl::AnyInvocable<void() &&>
Get(
int cmsWait);
205 MCNAPI
bool SetName(::std::string_view name,
void const* obj);
211 MCNAPI
explicit Thread(::std::unique_ptr<::webrtc::SocketServer> ss);
215 MCNAPI
Thread(::std::unique_ptr<::webrtc::SocketServer> ss,
bool do_init);
225 MCNAPI static ::std::unique_ptr<::webrtc::Thread>
Create();
237 MCNAPI
void*
$ctor(::std::unique_ptr<::webrtc::SocketServer> ss);
241 MCNAPI
void*
$ctor(::std::unique_ptr<::webrtc::SocketServer> ss,
bool do_init);
Definition AnyInvocable.h:8
Definition FunctionView.h:8
Definition SocketServer.h:16
Definition TaskQueueBase.h:31
Definition TaskQueueBase.h:16
Definition ThreadManager.h:12
MCAPI ScopedDisallowBlockingCalls()
MCAPI ~ScopedDisallowBlockingCalls()
static MCAPI ulong PreRun(void *pv)
MCAPI bool $IsProcessingMessagesForTesting()
MCAPI void $PostTaskImpl(::absl::AnyInvocable< void() && > task, ::webrtc::TaskQueueBase::PostTaskTraits const &, ::webrtc::Location const &)
MCAPI bool SetName(::std::string_view name, void const *obj)
MCAPI void * $ctor(::webrtc::SocketServer *ss, bool do_init)
MCAPI bool WrapCurrentWithThreadManager(::webrtc::ThreadManager *thread_manager, bool need_synchronize_access)
static MCAPI ::webrtc::Thread * Current()
MCAPI void * $ctor(::std::unique_ptr<::webrtc::SocketServer > ss, bool do_init)
MCAPI Thread(::webrtc::SocketServer *ss)
MCAPI bool ProcessMessages(int cmsLoop)
MCAPI void SetDispatchWarningMs(int deadline)
static MCAPI void ** $vftable()
MCAPI Thread(::std::unique_ptr<::webrtc::SocketServer > ss, bool do_init)
MCAPI void * $ctor(::webrtc::SocketServer *ss)
MCAPI void DisallowAllInvokes()
MCAPI::webrtc::SocketServer * socketserver()
static MCAPI ::std::unique_ptr<::webrtc::Thread > Create()
MCAPI Thread(::webrtc::SocketServer *ss, bool do_init)
MCAPI bool SetAllowBlockingCalls(bool allow)
MCAPI void * $ctor(::std::unique_ptr<::webrtc::SocketServer > ss)
MCAPI bool IsCurrent() const
MCAPI void Dispatch(::absl::AnyInvocable< void() && > task)
MCAPI void $BlockingCallImpl(::webrtc::FunctionView< void()> functor, ::webrtc::Location const &)
MCAPI void $PostDelayedTaskImpl(::absl::AnyInvocable< void() && > task, ::webrtc::TimeDelta delay, ::webrtc::TaskQueueBase::PostDelayedTaskTraits const &, ::webrtc::Location const &)
MCAPI void AllowInvokesToThread(::webrtc::Thread *thread)
MCAPI Thread(::std::unique_ptr<::webrtc::SocketServer > ss)
MCAPI ::absl::AnyInvocable< void() && > Get(int cmsWait)
Definition TimeDelta.h:10
Definition TaskQueueBase.h:65
Definition TaskQueueBase.h:79
MCAPI::webrtc::Thread::DelayedMessage & operator=(::webrtc::Thread::DelayedMessage &&)
MCAPI void * $ctor(::webrtc::Thread::DelayedMessage &&)
MCAPI DelayedMessage(::webrtc::Thread::DelayedMessage &&)