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 ()
 
MCFOLD 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
 

Member Function Documentation

◆ isAsync()

virtual bool BackgroundWorker::isAsync ( ) const
virtual

Implements ITaskExecutionContext.

◆ canTaskRunAgain()

virtual bool BackgroundWorker::canTaskRunAgain ( ) const
virtual

Implements ITaskExecutionContext.


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