You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-141137 #jira UE-141139 #preflight 63696f5e843e6ac79482dad1 #rb Zousar.Shaker [CL 23027624 by Devin Doucette in ue5-main branch]
34 lines
891 B
C++
34 lines
891 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "DerivedDataSharedStringFwd.h"
|
|
#include "Features/IModularFeature.h"
|
|
#include "UObject/NameTypes.h"
|
|
|
|
#define UE_API DERIVEDDATACACHE_API
|
|
|
|
class FQueuedThreadPool;
|
|
|
|
namespace UE::DerivedData
|
|
{
|
|
|
|
/** Provides the thread pool to use when reserving memory, and matches build functions using their type name. */
|
|
class IBuildSchedulerThreadPoolProvider : public IModularFeature
|
|
{
|
|
public:
|
|
static inline const FLazyName FeatureName{"BuildSchedulerThreadPoolProvider"};
|
|
|
|
virtual ~IBuildSchedulerThreadPoolProvider() = default;
|
|
|
|
/** Returns the type name that this provider corresponds to. */
|
|
virtual const FUtf8SharedString& GetTypeName() const = 0;
|
|
|
|
/** Returns the thread pool to use when reserving memory for the build. */
|
|
virtual FQueuedThreadPool* GetThreadPool() const = 0;
|
|
};
|
|
|
|
} // UE::DerivedData
|
|
|
|
#undef UE_API
|