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 MCAPI ~PoolEntry();
42 // NOLINTEND
43
44 public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCAPI 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 MCAPI void* $ctor();
96 // NOLINTEND
97
98public:
99 // destructor thunk
100 // NOLINTBEGIN
101
102 // NOLINTEND
103
104public:
105 // virtual function thunks
106 // NOLINTBEGIN
107 MCFOLD void $init();
108
109 MCAPI ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface> $createWorkerPool(
110 ::std::string name,
111 uint64 threadCount,
113 ::std::optional<uint64> const coreAffinityMask,
114 bool suppressWorkerProfiling,
115 ::std::optional<int> const idealCore
116 );
117
118 MCAPI void $tick();
119 // NOLINTEND
120
121public:
122 // vftables
123 // NOLINTBEGIN
124 MCAPI static void** $vftableForImplBase();
125
126 MCAPI static void** $vftableForEnableNonOwnerReferences();
127 // NOLINTEND
128};
129
130} // namespace Bedrock
Definition OSThreadPriority.h:7
Definition WorkerPoolManagerImpl.h:16
Definition WorkerPoolManager.h:17
Definition WorkerPoolManagerImpl.h:24
Definition Alias.h:14