Files
UnrealEngineUWP/Engine/Source/Editor/RewindDebuggerInterface/Public/IRewindDebuggerViewCreator.h
keith yerex 93e6b4646c rewind debugger interfaces refactor
- moving interfaces to engine from plugins
- get rewind debugger debug view interface out of GameplayInsights plugin
- change view system to use modular features instead of having it's own registration management
[REVIEW] jurre.debaare

#ROBOMERGE-SOURCE: CL 16986089 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16986111 by keith yerex in ue5-release-engine-test branch]
2021-07-28 15:22:40 -04:00

34 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "IRewindDebuggerView.h"
#include "Textures/SlateIcon.h"
namespace TraceServices
{
class IAnalysisSession;
}
// Interface class which creates debug widgets
class REWINDDEBUGGERINTERFACE_API IRewindDebuggerViewCreator : public IModularFeature
{
public:
static const FName ModularFeatureName;
// returns the name of a type of UObject for which this debug view will be created
virtual FName GetTargetTypeName() const = 0;
// returns a unique name for identifying this type of widget (same value returned by IRewindDebuggerView::GetName)
virtual FName GetName() const = 0;
// text for tab header
virtual FText GetTitle() const = 0;
// icon for tab header
virtual FSlateIcon GetIcon() const = 0;
// creates and returns a widget, which will be displayed in Rewind Debugger
virtual TSharedPtr<IRewindDebuggerView> CreateDebugView(uint64 ObjectId, double CurrentTime, const TraceServices::IAnalysisSession& InAnalysisSession) const = 0;
};