LeviLamina
Loading...
Searching...
No Matches
BackgroundTaskQueue.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/MovePriorityQueue.h"
7#include "mc/deps/core/threading/BackgroundTaskBase.h"
8#include "mc/deps/core/threading/SPSCQueue.h"
9
10// auto generated forward declare list
11// clang-format off
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI BackgroundTaskQueue();
37
38 MCAPI bool _fetchAllAvailableTasks();
39
40 MCAPI void flush();
41
42 MCAPI void queue(::std::shared_ptr<::BackgroundTaskBase> task, bool queueImmediate);
43
44 MCAPI ::std::shared_ptr<::BackgroundTaskBase> tryPop(int minPriority);
45
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor();
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60};
Definition BackgroundTaskBase.h:13
Definition BackgroundTaskQueue.h:15
Definition Alias.h:14