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 MCAPI void $dtor();
50 // NOLINTEND
51 };
52
53public:
54 // member variables
55 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // prevent constructor by default
68 BackgroundTaskBase& operator=(BackgroundTaskBase const&);
71
72public:
73 // virtual functions
74 // NOLINTBEGIN
75 // vIndex: 0
76 virtual ~BackgroundTaskBase();
77
78 // vIndex: 1
79 virtual void cancel() = 0;
80
81 // vIndex: 2
82 virtual bool isReady() const = 0;
83
84 // vIndex: 3
85 virtual ::TaskRunResult run(::ITaskExecutionContext const*) = 0;
86 // NOLINTEND
87
88public:
89 // member functions
90 // NOLINTBEGIN
91 MCAPI void setNext(::std::shared_ptr<::BackgroundTaskBase> next);
92 // NOLINTEND
93
94public:
95 // static variables
96 // NOLINTBEGIN
97 MCAPI static ::BackgroundTaskBase*& gCurrentTask();
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103 MCAPI void $dtor();
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCAPI static void** $vftable();
116 // NOLINTEND
117};
Definition BackgroundTaskBase.h:27
Definition BackgroundTaskBase.h:25
Definition BackgroundTaskBase.h:23
Definition BackgroundTaskBase.h:13
Definition ITaskExecutionContext.h:5
Definition Alias.h:14