You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- replaced log listing by treeview (as a prototype but will be replaced by a timeline) - added event for conditions - added details view for Condition and Tasks instance data #rb mikko.mononen #preflight 644002eea35280ed4f7a6afe [CL 25110578 by yoan stamant in ue5-main branch]
35 lines
864 B
C++
35 lines
864 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#if WITH_STATETREE_DEBUGGER
|
|
|
|
#include "Trace/Analyzer.h"
|
|
|
|
class FStateTreeTraceProvider;
|
|
namespace TraceServices { class IAnalysisSession; }
|
|
|
|
class FStateTreeTraceAnalyzer : public UE::Trace::IAnalyzer
|
|
{
|
|
public:
|
|
FStateTreeTraceAnalyzer(TraceServices::IAnalysisSession& InSession, FStateTreeTraceProvider& InProvider);
|
|
|
|
virtual void OnAnalysisBegin(const FOnAnalysisContext& Context) override;
|
|
virtual void OnAnalysisEnd() override {}
|
|
virtual bool OnEvent(uint16 RouteId, EStyle Style, const FOnEventContext& Context) override;
|
|
|
|
private:
|
|
enum : uint16
|
|
{
|
|
RouteId_Instance,
|
|
RouteId_LogMessage,
|
|
RouteId_State,
|
|
RouteId_Task,
|
|
RouteId_Condition,
|
|
RouteId_ActiveStates
|
|
};
|
|
|
|
TraceServices::IAnalysisSession& Session;
|
|
FStateTreeTraceProvider& Provider;
|
|
};
|
|
#endif // WITH_STATETREE_DEBUGGER
|