/* * 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 #include #include #include #include #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; }; } }