You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
31 lines
563 B
C++
31 lines
563 B
C++
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Engine.h"
|
|
#include "Trace/Analysis.h"
|
|
|
|
namespace Trace
|
|
{
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
void FAnalysisProcessor::Start(IInDataStream& DataStream)
|
|
{
|
|
FAnalysisEngine* Engine = (FAnalysisEngine*)Impl;
|
|
if (Engine == nullptr)
|
|
{
|
|
return;
|
|
}
|
|
|
|
FStreamReader Reader(DataStream);
|
|
while (FStreamReader::FData* Data = Reader.Read())
|
|
{
|
|
if (!Engine->OnData(*Data))
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
delete Engine;
|
|
Engine = nullptr;
|
|
}
|
|
|
|
} // namespace Trace
|