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
15class BackgroundTaskQueue {
16public:
17 // member variables
18 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 BackgroundTaskQueue& operator=(BackgroundTaskQueue const&);
31 BackgroundTaskQueue(BackgroundTaskQueue const&);
32
33public:
34 // member functions
35 // NOLINTBEGIN
37
39
40 MCNAPI void flush();
41
42 MCNAPI uint64 getApproximateTaskCount() const;
43
44 MCNAPI void queue(::std::shared_ptr<::BackgroundTaskBase> task, bool queueImmediate);
45
46 MCNAPI void resortPriorityQueue();
47
48 MCNAPI ::std::shared_ptr<::BackgroundTaskBase> tryPop(int minPriority);
49
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor();
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64};
Definition BackgroundTaskBase.h:16
MCAPI ::std::shared_ptr<::BackgroundTaskBase > tryPop(int minPriority)
MCAPI ~BackgroundTaskQueue()
MCAPI void queue(::std::shared_ptr<::BackgroundTaskBase > task, bool queueImmediate)
MCAPI void flush()
MCAPI void resortPriorityQueue()
MCAPI BackgroundTaskQueue()
MCAPI void * $ctor()
MCAPI bool _fetchAllAvailableTasks()
MCAPI uint64 getApproximateTaskCount() const
MCAPI void $dtor()
Definition Alias.h:14