Files
UnrealEngineUWP/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildWorkerRegistry.h
bryan sefcik de1956f47b Ran IWYU on Public headers under Engine/Source/Developer/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21064294 by bryan.sefcik
#jira
#preflight 62d5c2111062f2e63015e598

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182053 by bryan sefcik in ue5-main branch]
2022-07-20 12:03:45 -04:00

40 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "DerivedDataSharedStringFwd.h"
namespace UE::DerivedData { class FBuildWorker; }
namespace UE::DerivedData { class IBuildWorkerExecutor; }
struct FGuid;
namespace UE::DerivedData
{
/**
* A build worker registry maintains a collection of build workers.
*/
class IBuildWorkerRegistry
{
public:
virtual ~IBuildWorkerRegistry() = default;
/**
* Finds a build worker that can execute the function at the version.
*
* @param Function The function to find a worker for.
* @param FunctionVersion The version required for the function.
* @param BuildSystemVersion The version required for the build system.
* @param OutWorkerExecutor The executor to use to execute the worker.
* @return A build worker and executor if a compatible pair was found, or null for both.
*/
virtual FBuildWorker* FindWorker(
const FUtf8SharedString& Function,
const FGuid& FunctionVersion,
const FGuid& BuildSystemVersion,
IBuildWorkerExecutor*& OutWorkerExecutor) const = 0;
};
} // UE::DerivedData