LeviLamina
Loading...
Searching...
No Matches
QueueConfig.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Scheduler;
8class WorkerPool;
9// clang-format on
10
11namespace Bedrock::Threading::Burst {
12
13struct QueueConfig {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 32, ::std::string> mName;
18 ::ll::TypedStorage<4, 4, uint> mPriority;
19 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
20 ::ll::TypedStorage<8, 8, ::WorkerPool&> mPrimaryWorkerPool;
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::reference_wrapper<::WorkerPool>>> mSecondaryWorkerPools;
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::thread::id>> mAffinities;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 QueueConfig& operator=(QueueConfig const&);
28 QueueConfig(QueueConfig const&);
29 QueueConfig();
30
31public:
32 // member functions
33 // NOLINTBEGIN
34
35 // NOLINTEND
36
37public:
38 // constructor thunks
39 // NOLINTBEGIN
40 MCAPI_C void* $ctor(
41 ::std::string_view name,
42 uint priority,
43 ::Scheduler& scheduler,
44 ::WorkerPool& primaryWorkerPool,
45 ::std::initializer_list<::std::reference_wrapper<::WorkerPool>> secondaryWorkerPools,
46 ::gsl::span<::std::thread::id const> affinities
47 );
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI_C void $dtor();
54 // NOLINTEND
55};
56
57} // namespace Bedrock::Threading::Burst
Definition Scheduler.h:14
Definition WorkerPool.h:19