Files
UnrealEngineUWP/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildWorkerRegistry.h
devin doucette cdedb37d66 DDC: Converted the Build API to UTF-8 where appropriate
#jira UE-133382
#rb Zousar.Shaker
#rnx
#preflight 61e798ee3f00a0a23ef78c49

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18655307 in //UE5/Release-5.0/... via CL 18655320 via CL 18655322
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18655349 by devin doucette in ue5-main branch]
2022-01-19 00:27:48 -05:00

41 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "DerivedDataSharedStringFwd.h"
struct FGuid;
namespace UE::DerivedData { class FBuildWorker; }
namespace UE::DerivedData { class IBuildWorkerExecutor; }
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