LeviLamina
Loading...
Searching...
No Matches
BackgroundTaskBase Class Referenceabstract

Classes

class  CurrentTaskAutoScope
class  PendingComparer
class  PriorityComparer

Public Member Functions

virtual void cancel ()=0
virtual bool isReady () const =0
virtual::TaskRunResult run (::ITaskExecutionContext const *executionContext, bool isAsyncContext)=0
MCAPI BackgroundTaskBase (::gsl::not_null<::IBackgroundTaskOwner * > group, ::TaskStartInfo const &startInfo, bool isAsync)
MCAPI void * $ctor (::gsl::not_null<::IBackgroundTaskOwner * > group, ::TaskStartInfo const &startInfo, bool isAsync)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::BackgroundTaskBase *& gCurrentTask ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool const > mIsAsync
::ll::TypedStorage< 8, 8, ::IBackgroundTaskOwner * > mGroup
::ll::TypedStorage< 8, 8, ::BackgroundTaskBase * > mPrevTask
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::BackgroundTaskBase > > mNextTask
::ll::TypedStorage< 4, 4, int > mPriority
::ll::TypedStorage< 4, 4, ::std::thread::id > mAffinity
::ll::TypedStorage< 4, 4, int const > mBackDownPriorityAmount
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mStartAfterTime
::ll::TypedStorage< 8, 32, ::std::string > mTaskName
::ll::TypedStorage< 1, 1, ::Memory::MemoryCategory > mMemoryCategory

Member Function Documentation

◆ $vftable()

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