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_C void _runNextTask ()
MCAPI_C void queueForMainThreadFIFO (::std::function< void()> &&task)
MCAPI_C ::Bedrock::Threading::Async< void > queueForMainThread (::std::function< void()> &&callback)
MCAPI_C ::Bedrock::Threading::Async< void > queueForMainThreadAutoRequeue (::std::function< bool()> &&callback)
MCAPI void * $ctor (::std::string name)
MCAPI void * $ctor (::WorkerPool &, ::Scheduler &, ::std::string)
MCAPI void $dtor ()
MCAPI ::Bedrock::Threading::Async< void > queue (::std::function< void()> &&callback)
MCAPI_C ::Bedrock::Threading::Async< void > queueAutoRequeue (::std::function< bool()> &&callback)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 40, ::std::deque<::std::function< void()> > > mQueue
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmQueueMutex
::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.

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