You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#preflight 61411c7cb5a4fa0001184cbe #rb Zousar.Shaker #rnx [CL 17552582 by Joe Kirchoff in ue5-main branch]
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "IRemoteExecutionModule.h"
|
|
#include "DefaultRemoteExecutor.h"
|
|
|
|
REMOTEEXECUTION_API DECLARE_LOG_CATEGORY_EXTERN(LogRemoteExecution, Display, All);
|
|
|
|
|
|
namespace UE::RemoteExecution
|
|
{
|
|
class FRemoteExecutionModule : public IRemoteExecutionModule
|
|
{
|
|
public:
|
|
/** Default constructor. */
|
|
FRemoteExecutionModule();
|
|
|
|
// IModuleInterface interface
|
|
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
// IRemoteExecutionModule interface
|
|
virtual bool CanRemoteExecute() const override;
|
|
virtual IRemoteExecutor& GetRemoteExecutor() const override;
|
|
virtual void SetRemoteExecutor(const FName& InName);
|
|
|
|
private:
|
|
/** Handle when one of the modular features we are interested in is registered */
|
|
void HandleModularFeatureRegistered(const FName& Type, IModularFeature* ModularFeature);
|
|
|
|
/** Handle when one of the modular features we are interested in is unregistered */
|
|
void HandleModularFeatureUnregistered(const FName& Type, IModularFeature* ModularFeature);
|
|
|
|
FDefaultRemoteExecutor DefaultExecutor;
|
|
|
|
IRemoteExecutor* CurrentExecutor;
|
|
};
|
|
}
|