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
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
24
26
28 public:
29 // member variables
30 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
39
40 public:
41 // member functions
42 // NOLINTBEGIN
44 // NOLINTEND
45
46 public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCNAPI void $dtor();
50 // NOLINTEND
51 };
52
53public:
54 // member variables
55 // NOLINTBEGIN
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
70 BackgroundTaskBase& operator=(BackgroundTaskBase const&);
73
74public:
75 // virtual functions
76 // NOLINTBEGIN
77 // vIndex: 0
78 virtual ~BackgroundTaskBase();
79
80 // vIndex: 1
81 virtual void cancel() = 0;
82
83 // vIndex: 2
84 virtual bool isReady() const = 0;
85
86 // vIndex: 3
87 virtual ::TaskRunResult run(::ITaskExecutionContext const*, bool) = 0;
88 // NOLINTEND
89
90public:
91 // member functions
92 // NOLINTBEGIN
93 MCNAPI void setNext(::std::shared_ptr<::BackgroundTaskBase> next);
94 // NOLINTEND
95
96public:
97 // static variables
98 // NOLINTBEGIN
99 MCNAPI static ::BackgroundTaskBase*& gCurrentTask();
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105 MCNAPI void $dtor();
106 // NOLINTEND
107
108public:
109 // virtual function thunks
110 // NOLINTBEGIN
111
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCNAPI static void** $vftable();
118 // NOLINTEND
119};
Definition BackgroundTaskBase.h:27
Definition BackgroundTaskBase.h:25
Definition BackgroundTaskBase.h:23
Definition BackgroundTaskBase.h:13
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