LeviLamina
Loading...
Searching...
No Matches
WorkerPoolManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/profiler/ThreadFrameType.h"
8
9// auto generated forward declare list
10// clang-format off
11struct WorkerPoolConfig;
12namespace Bedrock { class WorkerPoolHandleInterface; }
13// clang-format on
14
15namespace Bedrock {
16
18 public ::Bedrock::ImplBase<::Bedrock::WorkerPoolManager> {
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual void init() = 0;
23
24 virtual ::std::shared_ptr<::Bedrock::WorkerPoolHandleInterface> createWorkerPool(
25 ::std::string_view name,
26 ::Core::Profile::ThreadFrameType frameType,
27 ::WorkerPoolConfig const& config
28 ) = 0;
29
30 virtual void tick() = 0;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36
37 // NOLINTEND
38};
39
40} // namespace Bedrock
Definition EnableNonOwnerReferences.h:7
Definition _HeaderOutputPredefine.h:328
Definition WorkerPoolHandleInterface.h:15
Definition WorkerPoolManager.h:18
Definition WorkerPoolConfig.h:5