Files
UnrealEngineUWP/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunctionRegistry.h
Devin Doucette 5672f53b55 DDC: Added UE::DerivedData::IBuildFunctionRegistry
IBuildFunctionRegistry is an interface to look up build functions and their versions by name.

#rb Zousar.Shaker
#rnx

[CL 16449017 by Devin Doucette in ue5-main branch]
2021-05-25 11:02:50 -04:00

29 lines
746 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/StringFwd.h"
struct FGuid;
namespace UE::DerivedData { class IBuildFunction; }
namespace UE::DerivedData
{
/**
* A build function registry maintains a collection of build functions.
*/
class IBuildFunctionRegistry
{
public:
virtual ~IBuildFunctionRegistry() = default;
/** Find a function by name. Returns null if not found. Safe to call from a scheduled job or the main thread. */
virtual const IBuildFunction* FindFunction(FStringView Function) const = 0;
/** Find a function version by name. Returns zero if not found. Safe to call from any thread. */
virtual FGuid FindFunctionVersion(FStringView Function) const = 0;
};
} // UE::DerivedData