You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
604 B
C++
29 lines
604 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Engine.h"
|
|
#include "Trace/Analysis.h"
|
|
|
|
namespace Trace
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
void FAnalysisContext::AddAnalyzer(IAnalyzer& Analyzer)
|
|
{
|
|
Analyzers.Add(&Analyzer);
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
FAnalysisProcessor FAnalysisContext::Process()
|
|
{
|
|
FAnalysisProcessor Processor;
|
|
|
|
if (Analyzers.Num())
|
|
{
|
|
Processor.Impl = new FAnalysisEngine(MoveTemp(Analyzers));
|
|
}
|
|
|
|
return MoveTemp(Processor);
|
|
}
|
|
|
|
} // namespace Trace
|