API Reference
On this page
Classes | |
| class | CurrentTaskAutoScope |
| struct | DiagnosticInfo |
| class | PendingComparer |
| class | PriorityComparer |
Public Member Functions | |
| bool | isOrphaned () const |
| virtual void | cancel ()=0 |
| virtual bool | isReady () const =0 |
| virtual::TaskRunResult | run (::ITaskExecutionContext const *executionContext, bool isAsyncContext)=0 |
| virtual::BackgroundTaskBase::DiagnosticInfo | getDiagnosticInfo () const =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, 32, ::std::string > | mTaskName |
| ::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > | mStartAfterTime |
| ::ll::TypedStorage< 8, 16, ::std::string_view > | mSourceFile |
| ::ll::TypedStorage< 4, 4, uint > | mSourceLine |
| ::ll::TypedStorage< 8, 8, uint64 > | mDiagnosticId |
| ::ll::TypedStorage< 1, 1, ::Memory::MemoryCategory > | mMemoryCategory |
| MCAPI BackgroundTaskBase::BackgroundTaskBase | ( | ::gsl::not_null<::IBackgroundTaskOwner * > | group, |
| ::TaskStartInfo const & | startInfo, | ||
| bool | isAsync ) |
| MCAPI void * BackgroundTaskBase::$ctor | ( | ::gsl::not_null<::IBackgroundTaskOwner * > | group, |
| ::TaskStartInfo const & | startInfo, | ||
| bool | isAsync ) |
| MCAPI void BackgroundTaskBase::$dtor | ( | ) |
|
static |