Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Bedrock::Threading::EnableFIFOQueueForMainThread Class Reference
Inheritance diagram for Bedrock::Threading::EnableFIFOQueueForMainThread:

Public Types

using Task = ::std::function<void()>

Public Member Functions

MCAPI void * $ctor (::std::string name)
MCAPI void * $ctor (::WorkerPool &workerPool, ::Scheduler &scheduler, ::std::string name)
MCAPI ::Bedrock::Threading::Async< void > queue (::std::function< void()> &&callback)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 40, ::std::deque<::std::function< void()> > > mQueue
::ll::TypedStorage< 8, 80, ::std::mutex > mQueueMutex
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mQueueForThreadTaskGroup

Member Function Documentation

◆ $vftable()

MCAPI void ** Bedrock::Threading::EnableFIFOQueueForMainThread::$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.

◆ $ctor() [1/2]

MCAPI void * Bedrock::Threading::EnableQueueForMainThread::$ctor ( ::std::string name)
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.

◆ $ctor() [2/2]

MCAPI void * Bedrock::Threading::EnableQueueForThread::$ctor ( ::WorkerPool & workerPool,
::Scheduler & scheduler,
::std::string name )
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.

◆ queue()

MCAPI ::Bedrock::Threading::Async< void > Bedrock::Threading::EnableQueueForThread::queue ( ::std::function< void()> && callback)
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.

◆ $dtor()

MCAPI void Bedrock::Threading::EnableQueueForThread::$dtor ( )
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: