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
11// clang-format on
12
13class BackgroundTaskBase {
14public:
15 // BackgroundTaskBase inner types declare
16 // clang-format off
18 class PendingComparer;
19 class PriorityComparer;
20 // clang-format on
21
22 // BackgroundTaskBase inner types define
23 class CurrentTaskAutoScope {
24 public:
25 // member variables
26 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 CurrentTaskAutoScope& operator=(CurrentTaskAutoScope const&);
33 CurrentTaskAutoScope(CurrentTaskAutoScope const&);
34 CurrentTaskAutoScope();
35
36 public:
37 // member functions
38 // NOLINTBEGIN
40 // NOLINTEND
41
42 public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCNAPI void $dtor();
46 // NOLINTEND
47 };
48
50
52
53public:
54 // member variables
55 // NOLINTBEGIN
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
70 BackgroundTaskBase& operator=(BackgroundTaskBase const&);
71 BackgroundTaskBase(BackgroundTaskBase const&);
72 BackgroundTaskBase();
73
74public:
75 // virtual functions
76 // NOLINTBEGIN
77 virtual ~BackgroundTaskBase();
78
79 virtual void cancel() = 0;
80
81 virtual bool isReady() const = 0;
82
83 virtual ::TaskRunResult run(::ITaskExecutionContext const*, bool) = 0;
84 // NOLINTEND
85
86public:
87 // member functions
88 // NOLINTBEGIN
89 MCNAPI void setNext(::std::shared_ptr<::BackgroundTaskBase> next);
90 // NOLINTEND
91
92public:
93 // static variables
94 // NOLINTBEGIN
95 MCNAPI static ::BackgroundTaskBase*& gCurrentTask();
96 // NOLINTEND
97
98public:
99 // destructor thunk
100 // NOLINTBEGIN
101 MCNAPI void $dtor();
102 // NOLINTEND
103
104public:
105 // virtual function thunks
106 // NOLINTBEGIN
107
108 // NOLINTEND
109
110public:
111 // vftables
112 // NOLINTBEGIN
113 MCNAPI static void** $vftable();
114 // NOLINTEND
115};
Definition BackgroundTaskBase.h:23
Definition BackgroundTaskBase.h:49
Definition BackgroundTaskBase.h:51
static MCAPI void ** $vftable()
static MCAPI ::BackgroundTaskBase *& gCurrentTask()
MCAPI void $dtor()
MCAPI void setNext(::std::shared_ptr<::BackgroundTaskBase > next)
Definition ITaskExecutionContext.h:5
Definition Alias.h:14