LeviLamina
Loading...
Searching...
No Matches
BackgroundTask< T0, T1 > Class Template Referenceabstract
Inheritance diagram for BackgroundTask< T0, T1 >:

Public Member Functions

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

Static Public Member Functions

static MCAPI ::std::shared_ptr<::BackgroundTask< T0, T1 > > create (::gsl::not_null<::IBackgroundTaskOwner * > owner, ::TaskStartInfo const &startInfo, ::Bedrock::Threading::Async< T1 > predecessor, bool isAsync, ::brstd::move_only_function< T0()> task)
static MCAPI ::BackgroundTaskBase *& gCurrentTask ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 8, 88 > mUnkDetails
::ll::UntypedStorage< 8, 80 > mUnkLock
::ll::UntypedStorage< 4, 4 > mUnkStatus
::ll::UntypedStorage< 8, 24 > mUnkComplete
::ll::UntypedStorage< 1, 1 > mUnkLinkCancellation
::ll::UntypedStorage< 8, 16 > mUnkPredecessor
::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 ( )
staticinherited
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: