Files
UnrealEngineUWP/Engine/Source/Editor/Experimental/RemoteExecution/Public/IRemoteExecutionModule.h
Joe Kirchoff dc86d2cb6c Experimental RemoteExecution & HordeExecutor editor modules
Implements gRPC wrappers for Bazel remote execution api
Static libraries are built via vcpkg, currently only supported for Win64 Editor builds

#rb Ben.Marsh
#preflight 609c65f883595700015753f8

[CL 16313287 by Joe Kirchoff in ue5-main branch]
2021-05-13 11:11:54 -04:00

33 lines
774 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
class IRemoteExecutor;
/**
* Module used to remotely execute computation
*/
class IRemoteExecutionModule : public IModuleInterface
{
public:
/**
* Check to see if remote execution can be used.
* @return true if remote execution can be use.
*/
virtual bool CanRemoteExecute() const = 0;
/**
* Get the accessor to allow us to remotely execute computation
* @return the executor
*/
virtual IRemoteExecutor& GetRemoteExecutor() const = 0;
/**
* Set the remote executor we want to use to do computation
* @param InName The name of the executor we want to use
*/
virtual void SetRemoteExecutor(const FName& InName) = 0;
};