LeviLamina
Loading...
Searching...
No Matches
WorkerPoolManagerImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/threading/WorkerPoolManager.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Bedrock { class WorkerPoolHandleInterface; }
11namespace Bedrock::Threading { class OSThreadPriority; }
12// clang-format on
13
14namespace Bedrock {
15
17public:
18 // WorkerPoolManagerImpl inner types declare
19 // clang-format off
20 struct PoolEntry;
21 // clang-format on
22
23 // WorkerPoolManagerImpl inner types define
24 struct PoolEntry {
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 PoolEntry& operator=(PoolEntry const&);
35 PoolEntry(PoolEntry const&);
36 PoolEntry();
37
38 public:
39 // member functions
40 // NOLINTBEGIN
41 MCNAPI ~PoolEntry();
42 // NOLINTEND
43
44 public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49 };
50
51public:
52 // member variables
53 // NOLINTBEGIN
56 // NOLINTEND
57
58public:
59 // prevent constructor by default
62
63public:
64 // virtual functions
65 // NOLINTBEGIN
66 // vIndex: 1
67 virtual void init() /*override*/;
68
69 // vIndex: 2
70 virtual ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface> createWorkerPool(
71 ::std::string name,
72 uint64 threadCount,
74 ::std::optional<uint64> const coreAffinityMask,
75 bool suppressWorkerProfiling,
76 ::std::optional<int> const idealCore
77 ) /*override*/;
78
79 // vIndex: 3
80 virtual void tick() /*override*/;
81
82 // vIndex: 0
83 virtual ~WorkerPoolManagerImpl() /*override*/ = default;
84 // NOLINTEND
85
86public:
87 // member functions
88 // NOLINTBEGIN
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCNAPI void* $ctor();
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101 MCNAPI void $init();
102
103 MCNAPI ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface> $createWorkerPool(
104 ::std::string name,
105 uint64 threadCount,
107 ::std::optional<uint64> const coreAffinityMask,
108 bool suppressWorkerProfiling,
109 ::std::optional<int> const idealCore
110 );
111
112 MCNAPI void $tick();
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCNAPI static void** $vftableForImplBase();
119
121 // NOLINTEND
122};
123
124} // namespace Bedrock
Definition OSThreadPriority.h:7
Definition WorkerPoolManagerImpl.h:16
static MCAPI void ** $vftableForEnableNonOwnerReferences()
MCAPI ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface > $createWorkerPool(::std::string name, uint64 threadCount, ::Bedrock::Threading::OSThreadPriority const &priority, ::std::optional< uint64 > const coreAffinityMask, bool suppressWorkerProfiling, ::std::optional< int > const idealCore)
static MCAPI void ** $vftableForImplBase()
Definition WorkerPoolManager.h:17
Definition WorkerPoolManagerImpl.h:24
Definition Alias.h:14