Files
UnrealEngineUWP/Engine/Source/Editor/Experimental/RemoteExecution/Public/IRemoteExecutionModule.h
Joe Kirchoff 335fe90d87 Update Remote Compute to use new compact binary api
#preflight 61411c7cb5a4fa0001184cbe
#rb Zousar.Shaker
#rnx

[CL 17552582 by Joe Kirchoff in ue5-main branch]
2021-09-17 11:17:27 -04:00

37 lines
832 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
namespace UE::RemoteExecution
{
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;
};
}