LeviLamina
Loading...
Searching...
No Matches
EnableQueueForMainThread.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#include "mc/deps/core/threading/EnableQueueForThread.h"
8
9// auto generated forward declare list
10// clang-format off
11class Scheduler;
12class WorkerPool;
13// clang-format on
14
15namespace Bedrock::Threading {
16
17class EnableQueueForMainThread : public ::Bedrock::Threading::EnableQueueForThread {
18public:
19 // prevent constructor by default
20 EnableQueueForMainThread();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~EnableQueueForMainThread() /*override*/;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI explicit EnableQueueForMainThread(::std::string name);
32
33 MCAPI EnableQueueForMainThread(::WorkerPool&, ::Scheduler&, ::std::string);
34
35 MCAPI_C ::Bedrock::Threading::Async<void> queueForMainThread(::std::function<void()>&& callback);
36
37 MCAPI_C ::Bedrock::Threading::Async<void> queueForMainThreadAutoRequeue(::std::function<bool()>&& callback);
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor(::std::string name);
44
45 MCAPI void* $ctor(::WorkerPool&, ::Scheduler&, ::std::string);
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCAPI void $dtor();
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
60
61} // namespace Bedrock::Threading
Definition EnableQueueForThread.h:15
Definition Scheduler.h:14
Definition WorkerPool.h:19