You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
29 lines
746 B
C++
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
|