LeviLamina
Loading...
Searching...
No Matches
BackgroundTaskBase.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/TaskRunResult.h"
7
8// auto generated forward declare list
9// clang-format off
12struct TaskStartInfo;
13// clang-format on
14
16public:
17 // BackgroundTaskBase inner types declare
18 // clang-format off
20 class PendingComparer;
21 class PriorityComparer;
22 // clang-format on
23
24 // BackgroundTaskBase inner types define
26
28
30 public:
31 // member variables
32 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
41
42 public:
43 // member functions
44 // NOLINTBEGIN
46 // NOLINTEND
47
48 public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCNAPI void $dtor();
52 // NOLINTEND
53 };
54
55public:
56 // member variables
57 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
72 BackgroundTaskBase& operator=(BackgroundTaskBase const&);
75
76public:
77 // virtual functions
78 // NOLINTBEGIN
79 // vIndex: 0
80 virtual ~BackgroundTaskBase();
81
82 // vIndex: 1
83 virtual void cancel() = 0;
84
85 // vIndex: 2
86 virtual bool isReady() const = 0;
87
88 // vIndex: 3
89 virtual ::TaskRunResult run(::ITaskExecutionContext const*) = 0;
90 // NOLINTEND
91
92public:
93 // member functions
94 // NOLINTBEGIN
95 MCNAPI
96 BackgroundTaskBase(::gsl::not_null<::IBackgroundTaskOwner*> group, ::TaskStartInfo const& startInfo, bool isAsync);
97
98 MCNAPI void setNext(::std::shared_ptr<::BackgroundTaskBase> next);
99 // NOLINTEND
100
101public:
102 // static variables
103 // NOLINTBEGIN
104 MCNAPI static ::BackgroundTaskBase*& gCurrentTask();
105 // NOLINTEND
106
107public:
108 // constructor thunks
109 // NOLINTBEGIN
110 MCNAPI void* $ctor(::gsl::not_null<::IBackgroundTaskOwner*> group, ::TaskStartInfo const& startInfo, bool isAsync);
111 // NOLINTEND
112
113public:
114 // destructor thunk
115 // NOLINTBEGIN
116 MCNAPI void $dtor();
117 // NOLINTEND
118
119public:
120 // virtual function thunks
121 // NOLINTBEGIN
122
123 // NOLINTEND
124
125public:
126 // vftables
127 // NOLINTBEGIN
128 MCNAPI static void** $vftable();
129 // NOLINTEND
130};
Definition BackgroundTaskBase.h:29
Definition BackgroundTaskBase.h:27
Definition BackgroundTaskBase.h:25
Definition BackgroundTaskBase.h:15
static MCAPI void ** $vftable()
MCAPI void * $ctor(::gsl::not_null<::IBackgroundTaskOwner * > group, ::TaskStartInfo const &startInfo, bool isAsync)
static MCAPI ::BackgroundTaskBase *& gCurrentTask()
MCAPI BackgroundTaskBase(::gsl::not_null<::IBackgroundTaskOwner * > group, ::TaskStartInfo const &startInfo, bool isAsync)
MCAPI void $dtor()
MCAPI void setNext(::std::shared_ptr<::BackgroundTaskBase > next)
Definition IBackgroundTaskOwner.h:17
Definition ITaskExecutionContext.h:5
Definition TaskStartInfo.h:5
Definition Alias.h:14