LeviLamina
Loading...
Searching...
No Matches
EnableQueueForThread.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/threading/Async.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
TaskGroup
;
11
// clang-format on
12
13
namespace
Bedrock::Threading {
14
15
class
EnableQueueForThread
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mQueueForThreadTaskGroup;
20
// NOLINTEND
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
~EnableQueueForThread
() =
default
;
26
// NOLINTEND
27
28
public
:
29
// member functions
30
// NOLINTBEGIN
31
MCAPI ::Bedrock::Threading::Async<void> queue(::std::function<
void
()>&& callback);
32
33
MCAPI_C ::Bedrock::Threading::Async<void> queueAutoRequeue(::std::function<
bool
()>&& callback);
34
// NOLINTEND
35
36
public
:
37
// vftables
38
// NOLINTBEGIN
39
MCNAPI
static
void
**
$vftable
();
40
// NOLINTEND
41
};
42
43
}
// namespace Bedrock::Threading
Bedrock::Threading::EnableQueueForThread
Definition
EnableQueueForThread.h:15
Bedrock::Threading::EnableQueueForThread::$vftable
static MCAPI void ** $vftable()
TaskGroup
Definition
TaskGroup.h:53
src
mc
deps
core
threading
EnableQueueForThread.h
Generated on
for LeviLamina by
1.16.1