You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902 #ROBOMERGE-BOT: (v613-10869866) [CL 10870584 by ryan durand in Main branch]
27 lines
646 B
C++
27 lines
646 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Processor.h"
|
|
#include "Trace/Analysis.h"
|
|
|
|
namespace Trace
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
void FAnalysisContext::AddAnalyzer(IAnalyzer& Analyzer)
|
|
{
|
|
Analyzers.Add(&Analyzer);
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
FAnalysisProcessor FAnalysisContext::Process(IInDataStream& DataStream)
|
|
{
|
|
FAnalysisProcessor Processor;
|
|
if (Analyzers.Num() > 0)
|
|
{
|
|
Processor.Impl = new FAnalysisProcessor::FImpl(DataStream, MoveTemp(Analyzers));
|
|
}
|
|
return MoveTemp(Processor);
|
|
}
|
|
|
|
} // namespace Trace
|