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

Public Types

enum class  RunOneResult : int { NoTasks = 0 , TaskExecuted = 1 , Retry = 2 }
 
enum class  State : int { Initializing = 0 , Off = 1 , Running = 2 }
 

Public Member Functions

BackgroundWorkeroperator= (BackgroundWorker const &)
 
 BackgroundWorker (BackgroundWorker const &)
 
virtual bool isAsync () const
 
virtual bool canTaskRunAgain () const
 
MCAPI BackgroundWorker (::std::string name, bool async, ::Bedrock::Threading::OSThreadPriority const &priority, ::std::optional< uint64 > coreAffinity, ::std::optional< int > idealCore, ::WorkerPool &workerPool, bool suppressProfiling)
 
MCAPI void _doNoWorkDelay ()
 
MCAPI bool _processNextTask ()
 
MCAPI::BackgroundWorker::RunOneResult _runOneTask ()
 
MCAPI void queue (::std::shared_ptr<::BackgroundTaskBase > task)
 
MCAPI void start ()
 
MCAPI void * $ctor (::std::string name, bool async, ::Bedrock::Threading::OSThreadPriority const &priority, ::std::optional< uint64 > coreAffinity, ::std::optional< int > idealCore, ::WorkerPool &workerPool, bool suppressProfiling)
 
MCAPI void $dtor ()
 
MCAPI bool $isAsync () const
 
MCAPI bool $canTaskRunAgain () const
 

Static Public Member Functions

static MCAPI ::BackgroundWorker *& gLocalWorkerMappingSingleton ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 1, 1 > mUnk588fa6
 
::ll::UntypedStorage< 4, 4 > mUnk710ade
 
::ll::UntypedStorage< 8, 16 > mUnk13d7dc
 
::ll::UntypedStorage< 4, 8 > mUnka1b2fe
 
::ll::UntypedStorage< 8, 32 > mUnk3ba000
 
::ll::UntypedStorage< 8, 16 > mUnkd929e4
 
::ll::UntypedStorage< 4, 4 > mUnka494ab
 
::ll::UntypedStorage< 4, 4 > mUnke7131f
 
::ll::UntypedStorage< 8, 160 > mUnk340fb7
 
::ll::UntypedStorage< 1, 1 > mUnkd41591
 
::ll::UntypedStorage< 8, 8 > mUnkb6dab1
 
::ll::UntypedStorage< 8, 16 > mUnk923ee5
 
::ll::UntypedStorage< 8, 8 > mUnkf38404
 
::ll::UntypedStorage< 8, 8 > mUnkaffb93
 
::ll::UntypedStorage< 8, 360 > mUnk649664
 

Constructor & Destructor Documentation

◆ BackgroundWorker()

MCAPI BackgroundWorker::BackgroundWorker ( ::std::string name,
bool async,
::Bedrock::Threading::OSThreadPriority const & priority,
::std::optional< uint64 > coreAffinity,
::std::optional< int > idealCore,
::WorkerPool & workerPool,
bool suppressProfiling )
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

◆ isAsync()

virtual bool BackgroundWorker::isAsync ( ) const
virtual

Implements ITaskExecutionContext.

◆ canTaskRunAgain()

virtual bool BackgroundWorker::canTaskRunAgain ( ) const
virtual

Implements ITaskExecutionContext.

◆ _doNoWorkDelay()

MCAPI void BackgroundWorker::_doNoWorkDelay ( )
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.

◆ _processNextTask()

MCAPI bool BackgroundWorker::_processNextTask ( )
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.

◆ _runOneTask()

MCAPI::BackgroundWorker::RunOneResult BackgroundWorker::_runOneTask ( )
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 void BackgroundWorker::queue ( ::std::shared_ptr<::BackgroundTaskBase > 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.

◆ start()

MCAPI void BackgroundWorker::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.

◆ gLocalWorkerMappingSingleton()

static MCAPI ::BackgroundWorker *& BackgroundWorker::gLocalWorkerMappingSingleton ( )
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()

MCAPI void * BackgroundWorker::$ctor ( ::std::string name,
bool async,
::Bedrock::Threading::OSThreadPriority const & priority,
::std::optional< uint64 > coreAffinity,
::std::optional< int > idealCore,
::WorkerPool & workerPool,
bool suppressProfiling )
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 BackgroundWorker::$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.

◆ $isAsync()

MCAPI bool BackgroundWorker::$isAsync ( ) 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.

◆ $canTaskRunAgain()

MCAPI bool BackgroundWorker::$canTaskRunAgain ( ) 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.

◆ $vftable()

static MCAPI void ** BackgroundWorker::$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: