You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/ScriptCanvas/Code/Include/ScriptCanvas/Debugger/LogReader.h

53 lines
1.4 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/Component/EntityId.h>
#include <ScriptCanvas/Core/Core.h>
#include <ScriptCanvas/Asset/ExecutionLogAsset.h>
#include <AzCore/EBus/EBus.h>
#include <Debugger/Bus.h>
#include "APIArguments.h"
namespace ScriptCanvas
{
namespace Debugger
{
class LogReader
: public LoggableEventVisitor
{
public:
AZ_CLASS_ALLOCATOR(LogReader, AZ::SystemAllocator, 0);
LogReader();
~LogReader();
// start at the beginning, if possible
bool Start() { return false; }
// step back one event, if possible
bool StepBack() { return false; }
// step forward one event, if possible
bool StepForward() { return false; }
protected:
void Visit(ExecutionThreadEnd&);
void Visit(ExecutionThreadBeginning&);
void Visit(GraphActivation&);
void Visit(GraphDeactivation&);
void Visit(NodeStateChange&);
void Visit(InputSignal&);
void Visit(OutputSignal&);
void Visit(VariableChange&);
private:
size_t m_index = 0;
};
}
}