Files
UnrealEngineUWP/Engine/Source/Developer/TraceAnalysis/Private/Analysis/Engine.h
martin ridgers 27c78d0d4b Over time the framework behind the analysis of traces has grown reactively and organically without little thought to structure. The monolithic class has been refactored to derive some structure that will ease future maintenance (and protocol changes in particular).
#rb johan.berg
#jira ue-114532
#rnx

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

[CL 16979283 by martin ridgers in ue5-release-engine-test branch]
2021-07-28 02:24:48 -04:00

34 lines
772 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/ContainersFwd.h"
namespace UE {
namespace Trace {
class IAnalyzer;
class FStreamReader;
////////////////////////////////////////////////////////////////////////////////
class FAnalysisEngine
{
public:
FAnalysisEngine(TArray<IAnalyzer*>&& Analyzers);
~FAnalysisEngine();
void Begin();
void End();
bool OnData(FStreamReader& Reader);
private:
class FImpl;
FAnalysisEngine(const FAnalysisEngine&) = delete;
FAnalysisEngine(const FAnalysisEngine&&) = delete;
FAnalysisEngine operator = (const FAnalysisEngine&) = delete;
FAnalysisEngine operator = (const FAnalysisEngine&&) = delete;
FImpl* Impl;
};
} // namespace Trace
} // namespace UE