LeviLamina
Loading...
Searching...
No Matches
rtc::Thread Class Reference
+ Inheritance diagram for rtc::Thread:

Classes

class  CurrentThreadSetter
 
struct  DelayedMessage
 
class  ScopedDisallowBlockingCalls
 

Public Types

enum class  DelayPrecision : int { KLow = 0 , KHigh = 1 }
 

Public Member Functions

Threadoperator= (Thread const &)
 
 Thread (Thread const &)
 
virtual void Quit ()
 
virtual bool IsQuitting ()
 
virtual void Restart ()
 
virtual bool IsProcessingMessagesForTesting ()
 
virtual int GetDelay ()
 
virtual void Stop ()
 
virtual void Run ()
 
virtual void Delete ()
 
virtual void PostTaskImpl (::absl::AnyInvocable< void() && > task, ::webrtc::TaskQueueBase::PostTaskTraits const &traits, ::webrtc::Location const &location)
 
virtual void PostDelayedTaskImpl (::absl::AnyInvocable< void() && > task, ::webrtc::TimeDelta delay, ::webrtc::TaskQueueBase::PostDelayedTaskTraits const &traits, ::webrtc::Location const &location)
 
virtual void BlockingCallImpl (::rtc::FunctionView< void()> functor, ::webrtc::Location const &location)
 
MCAPI void AllowInvokesToThread (::rtc::Thread *thread)
 
MCAPI void ClearCurrentTaskQueue ()
 
MCAPI void DisallowAllInvokes ()
 
MCAPI void Dispatch (::absl::AnyInvocable< void() && > task)
 
MCAPI void DoDestroy ()
 
MCAPI void DoInit ()
 
MCAPI void EnsureIsCurrentTaskQueue ()
 
MCAPI ::absl::AnyInvocable< void() && > Get (int cmsWait)
 
MCAPI bool IsCurrent () const
 
MCAPI bool IsOwned ()
 
MCAPI bool IsRunning ()
 
MCAPI void Join ()
 
MCAPI bool ProcessMessages (int cmsLoop)
 
MCAPI bool SetAllowBlockingCalls (bool allow)
 
MCAPI void SetDispatchWarningMs (int deadline)
 
MCAPI bool SetName (::std::string_view name, void const *obj)
 
MCAPI bool Start ()
 
MCAPI Thread (::rtc::SocketServer *ss)
 
MCAPI Thread (::std::unique_ptr<::rtc::SocketServer > ss)
 
MCAPI Thread (::std::unique_ptr<::rtc::SocketServer > ss, bool do_init)
 
MCAPI Thread (::rtc::SocketServer *ss, bool do_init)
 
MCAPI void UnwrapCurrent ()
 
MCAPI void WakeUpSocketServer ()
 
MCAPI bool WrapCurrentWithThreadManager (::rtc::ThreadManager *thread_manager, bool need_synchronize_access)
 
MCAPI::rtc::SocketServer * socketserver ()
 
MCAPI void * $ctor (::rtc::SocketServer *ss)
 
MCAPI void * $ctor (::std::unique_ptr<::rtc::SocketServer > ss)
 
MCAPI void * $ctor (::std::unique_ptr<::rtc::SocketServer > ss, bool do_init)
 
MCAPI void * $ctor (::rtc::SocketServer *ss, bool do_init)
 
MCAPI void $dtor ()
 
MCAPI void $Quit ()
 
MCAPI bool $IsQuitting ()
 
MCAPI void $Restart ()
 
MCAPI bool $IsProcessingMessagesForTesting ()
 
MCAPI int $GetDelay ()
 
MCAPI void $Stop ()
 
MCAPI void $Run ()
 
MCAPI void $Delete ()
 
MCAPI void $PostTaskImpl (::absl::AnyInvocable< void() && > task, ::webrtc::TaskQueueBase::PostTaskTraits const &traits, ::webrtc::Location const &location)
 
MCAPI void $PostDelayedTaskImpl (::absl::AnyInvocable< void() && > task, ::webrtc::TimeDelta delay, ::webrtc::TaskQueueBase::PostDelayedTaskTraits const &traits, ::webrtc::Location const &location)
 
MCAPI void $BlockingCallImpl (::rtc::FunctionView< void()> functor, ::webrtc::Location const &location)
 
MCAPI void PostDelayedTask (::absl::AnyInvocable< void() && > task, ::webrtc::TimeDelta delay, ::webrtc::Location const &location)
 
MCAPI void PostDelayedTaskWithPrecision (::webrtc::TaskQueueBase::DelayPrecision precision, ::absl::AnyInvocable< void() && > task, ::webrtc::TimeDelta delay, ::webrtc::Location const &location)
 
MCAPI void PostTask (::absl::AnyInvocable< void() && > task, ::webrtc::Location const &location)
 

Static Public Member Functions

static MCAPI ::std::unique_ptr<::rtc::ThreadCreate ()
 
static MCAPI ::rtc::ThreadCurrent ()
 
static MCAPI ulong PreRun (void *pv)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 40 > mUnk23b40c
 
::ll::UntypedStorage< 8, 32 > mUnk2935e8
 
::ll::UntypedStorage< 4, 4 > mUnk4f2a6e
 
::ll::UntypedStorage< 8, 40 > mUnk648296
 
::ll::UntypedStorage< 1, 1 > mUnk25f44b
 
::ll::UntypedStorage< 1, 1 > mUnkf57265
 
::ll::UntypedStorage< 4, 4 > mUnk79285e
 
::ll::UntypedStorage< 8, 8 > mUnk4b183f
 
::ll::UntypedStorage< 8, 8 > mUnk5600e1
 
::ll::UntypedStorage< 8, 32 > mUnkdbbfb5
 
::ll::UntypedStorage< 8, 8 > mUnk83b044
 
::ll::UntypedStorage< 4, 4 > mUnkde0ec4
 
::ll::UntypedStorage< 1, 1 > mUnk18c0bc
 
::ll::UntypedStorage< 1, 1 > mUnkc07e48
 
::ll::UntypedStorage< 8, 8 > mUnka43441
 
::ll::UntypedStorage< 4, 4 > mUnkadc8c4
 

Constructor & Destructor Documentation

◆ Thread() [1/4]

MCAPI rtc::Thread::Thread ( ::rtc::SocketServer * ss)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Thread() [2/4]

MCAPI rtc::Thread::Thread ( ::std::unique_ptr<::rtc::SocketServer > ss)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Thread() [3/4]

MCAPI rtc::Thread::Thread ( ::std::unique_ptr<::rtc::SocketServer > ss,
bool do_init )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Thread() [4/4]

MCAPI rtc::Thread::Thread ( ::rtc::SocketServer * ss,
bool do_init )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ Delete()

virtual void rtc::Thread::Delete ( )
virtual

Implements webrtc::TaskQueueBase.

◆ PostTaskImpl()

virtual void rtc::Thread::PostTaskImpl ( ::absl::AnyInvocable< void() && > task,
::webrtc::TaskQueueBase::PostTaskTraits const & traits,
::webrtc::Location const & location )
virtual

Implements webrtc::TaskQueueBase.

◆ PostDelayedTaskImpl()

virtual void rtc::Thread::PostDelayedTaskImpl ( ::absl::AnyInvocable< void() && > task,
::webrtc::TimeDelta delay,
::webrtc::TaskQueueBase::PostDelayedTaskTraits const & traits,
::webrtc::Location const & location )
virtual

Implements webrtc::TaskQueueBase.

◆ AllowInvokesToThread()

MCAPI void rtc::Thread::AllowInvokesToThread ( ::rtc::Thread * thread)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ClearCurrentTaskQueue()

MCAPI void rtc::Thread::ClearCurrentTaskQueue ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DisallowAllInvokes()

MCAPI void rtc::Thread::DisallowAllInvokes ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Dispatch()

MCAPI void rtc::Thread::Dispatch ( ::absl::AnyInvocable< void() && > task)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DoDestroy()

MCAPI void rtc::Thread::DoDestroy ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DoInit()

MCAPI void rtc::Thread::DoInit ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ EnsureIsCurrentTaskQueue()

MCAPI void rtc::Thread::EnsureIsCurrentTaskQueue ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Get()

MCAPI ::absl::AnyInvocable< void() && > rtc::Thread::Get ( int cmsWait)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ IsCurrent()

MCAPI bool rtc::Thread::IsCurrent ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ IsOwned()

MCAPI bool rtc::Thread::IsOwned ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ IsRunning()

MCAPI bool rtc::Thread::IsRunning ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Join()

MCAPI void rtc::Thread::Join ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ProcessMessages()

MCAPI bool rtc::Thread::ProcessMessages ( int cmsLoop)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SetAllowBlockingCalls()

MCAPI bool rtc::Thread::SetAllowBlockingCalls ( bool allow)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SetDispatchWarningMs()

MCAPI void rtc::Thread::SetDispatchWarningMs ( int deadline)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SetName()

MCAPI bool rtc::Thread::SetName ( ::std::string_view name,
void const * obj )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Start()

MCAPI bool rtc::Thread::Start ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ UnwrapCurrent()

MCAPI void rtc::Thread::UnwrapCurrent ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WakeUpSocketServer()

MCAPI void rtc::Thread::WakeUpSocketServer ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WrapCurrentWithThreadManager()

MCAPI bool rtc::Thread::WrapCurrentWithThreadManager ( ::rtc::ThreadManager * thread_manager,
bool need_synchronize_access )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ socketserver()

MCAPI::rtc::SocketServer * rtc::Thread::socketserver ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Create()

static MCAPI ::std::unique_ptr<::rtc::Thread > rtc::Thread::Create ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Current()

static MCAPI ::rtc::Thread * rtc::Thread::Current ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PreRun()

static MCAPI ulong rtc::Thread::PreRun ( void * pv)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/4]

MCAPI void * rtc::Thread::$ctor ( ::rtc::SocketServer * ss)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/4]

MCAPI void * rtc::Thread::$ctor ( ::std::unique_ptr<::rtc::SocketServer > ss)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [3/4]

MCAPI void * rtc::Thread::$ctor ( ::std::unique_ptr<::rtc::SocketServer > ss,
bool do_init )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [4/4]

MCAPI void * rtc::Thread::$ctor ( ::rtc::SocketServer * ss,
bool do_init )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void rtc::Thread::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Quit()

MCAPI void rtc::Thread::$Quit ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $IsQuitting()

MCAPI bool rtc::Thread::$IsQuitting ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Restart()

MCAPI void rtc::Thread::$Restart ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $IsProcessingMessagesForTesting()

MCAPI bool rtc::Thread::$IsProcessingMessagesForTesting ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $GetDelay()

MCAPI int rtc::Thread::$GetDelay ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Stop()

MCAPI void rtc::Thread::$Stop ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Run()

MCAPI void rtc::Thread::$Run ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $Delete()

MCAPI void rtc::Thread::$Delete ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $PostTaskImpl()

MCAPI void rtc::Thread::$PostTaskImpl ( ::absl::AnyInvocable< void() && > task,
::webrtc::TaskQueueBase::PostTaskTraits const & traits,
::webrtc::Location const & location )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $PostDelayedTaskImpl()

MCAPI void rtc::Thread::$PostDelayedTaskImpl ( ::absl::AnyInvocable< void() && > task,
::webrtc::TimeDelta delay,
::webrtc::TaskQueueBase::PostDelayedTaskTraits const & traits,
::webrtc::Location const & location )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $BlockingCallImpl()

MCAPI void rtc::Thread::$BlockingCallImpl ( ::rtc::FunctionView< void()> functor,
::webrtc::Location const & location )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** rtc::Thread::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PostDelayedTask()

MCAPI void webrtc::TaskQueueBase::PostDelayedTask ( ::absl::AnyInvocable< void() && > task,
::webrtc::TimeDelta delay,
::webrtc::Location const & location )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PostDelayedTaskWithPrecision()

MCAPI void webrtc::TaskQueueBase::PostDelayedTaskWithPrecision ( ::webrtc::TaskQueueBase::DelayPrecision precision,
::absl::AnyInvocable< void() && > task,
::webrtc::TimeDelta delay,
::webrtc::Location const & location )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PostTask()

MCAPI void webrtc::TaskQueueBase::PostTask ( ::absl::AnyInvocable< void() && > task,
::webrtc::Location const & location )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: