Removes LoggingAssetDataAggregator/LoggingAssetWindowSession from Gems/ScriptCanvas

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2022-01-05 19:43:21 -08:00
parent d858c16831
commit 5c557f56a3
5 changed files with 0 additions and 206 deletions
@@ -1,70 +0,0 @@
/*
* 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
*
*/
#include <Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetDataAggregator.h>
namespace ScriptCanvasEditor
{
///////////////////////////////
// LoggingAssetDataAggregator
///////////////////////////////
LoggingAssetDataAggregator::LoggingAssetDataAggregator(const AZ::Data::AssetId& assetId)
: m_assetId(assetId)
{
}
LoggingAssetDataAggregator::~LoggingAssetDataAggregator()
{
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::AnnotateNodeSignal& /**/)
{
// call parent process function in the aggregator class
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::ExecutionThreadEnd& /*loggableEvent*/)
{
// call parent process function in the aggregator class
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::ExecutionThreadBeginning& /*loggableEvent*/)
{
// call parent process function in the aggregator class
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::GraphActivation& /*loggableEvent*/)
{
// call parent process function in the aggregator class
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::GraphDeactivation& /*loggableEvent*/)
{
// call parent process function in the aggregator class
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::NodeStateChange& loggableEvent)
{
ProcessNodeStateChanged(loggableEvent);
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::InputSignal& loggableEvent)
{
ProcessInputSignal(loggableEvent);
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::OutputSignal& loggableEvent)
{
ProcessOutputSignal(loggableEvent);
}
void LoggingAssetDataAggregator::Visit(ScriptCanvas::VariableChange& loggableEvent)
{
ProcessVariableChangedSignal(loggableEvent);
}
}
@@ -1,44 +0,0 @@
/*
* 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 <Editor/View/Widgets/LoggingPanel/LoggingDataAggregator.h>
#include <ScriptCanvas/Debugger/Logger.h>
#include <ScriptCanvas/Core/ExecutionNotificationsBus.h>
namespace ScriptCanvasEditor
{
class LoggingAssetDataAggregator
: public LoggingDataAggregator
, public ScriptCanvas::LoggableEventVisitor
{
public:
AZ_CLASS_ALLOCATOR(LoggingAssetDataAggregator, AZ::SystemAllocator, 0);
LoggingAssetDataAggregator(const AZ::Data::AssetId& assetId);
~LoggingAssetDataAggregator() override;
bool CanCaptureData() const override { return false; }
bool IsCapturingData() const override { return false; }
protected:
void Visit(ScriptCanvas::AnnotateNodeSignal&) override;
void Visit(ScriptCanvas::ExecutionThreadEnd&) override;
void Visit(ScriptCanvas::ExecutionThreadBeginning&) override;
void Visit(ScriptCanvas::GraphActivation&) override;
void Visit(ScriptCanvas::GraphDeactivation&) override;
void Visit(ScriptCanvas::NodeStateChange&) override;
void Visit(ScriptCanvas::InputSignal&) override;
void Visit(ScriptCanvas::OutputSignal&) override;
void Visit(ScriptCanvas::VariableChange&) override;
private:
AZ::Data::AssetId m_assetId;
};
}
@@ -1,48 +0,0 @@
/*
* 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
*
*/
#include <Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetWindowSession.h>
namespace ScriptCanvasEditor
{
//////////////////////////////
// LoggingAssetWindowSession
//////////////////////////////
LoggingAssetWindowSession::LoggingAssetWindowSession(const AZ::Data::AssetId& assetId, QWidget* parent)
: LoggingWindowSession(parent)
, m_dataAggregator(assetId)
, m_assetId(assetId)
{
SetDataId(m_dataAggregator.GetDataId());
m_ui->captureButton->setEnabled(false);
RegisterTreeRoot(m_dataAggregator.GetTreeRoot());
}
LoggingAssetWindowSession::~LoggingAssetWindowSession()
{
}
void LoggingAssetWindowSession::OnCaptureButtonPressed()
{
}
void LoggingAssetWindowSession::OnPlaybackButtonPressed()
{
// TODO
}
void LoggingAssetWindowSession::OnOptionsButtonPressed()
{
// TODO
}
#include <Editor/View/Widgets/LoggingPanel/AssetWindowSession/moc_LoggingAssetWindowSession.cpp>
}
@@ -1,40 +0,0 @@
/*
* 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
#if !defined(Q_MOC_RUN)
#include <Editor/View/Widgets/LoggingPanel/LoggingWindowSession.h>
#include <Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetDataAggregator.h>
#endif
namespace ScriptCanvasEditor
{
class LoggingAssetWindowSession
: public LoggingWindowSession
{
Q_OBJECT
public:
AZ_CLASS_ALLOCATOR(LoggingAssetWindowSession, AZ::SystemAllocator, 0);
LoggingAssetWindowSession(const AZ::Data::AssetId& assetId, QWidget* parent = nullptr);
~LoggingAssetWindowSession() override;
protected:
void OnCaptureButtonPressed() override;
void OnPlaybackButtonPressed() override;
void OnOptionsButtonPressed() override;
private:
AZ::Data::AssetId m_assetId;
LoggingAssetDataAggregator m_dataAggregator;
};
}
@@ -195,10 +195,6 @@ set(FILES
Editor/View/Widgets/LoggingPanel/LiveWindowSession/LiveLoggingDataAggregator.h
Editor/View/Widgets/LoggingPanel/LiveWindowSession/LiveLoggingWindowSession.cpp
Editor/View/Widgets/LoggingPanel/LiveWindowSession/LiveLoggingWindowSession.h
Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetDataAggregator.cpp
Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetDataAggregator.h
Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetWindowSession.cpp
Editor/View/Widgets/LoggingPanel/AssetWindowSession/LoggingAssetWindowSession.h
Editor/View/Widgets/LoggingPanel/PivotTree/PivotTreeWidget.cpp
Editor/View/Widgets/LoggingPanel/PivotTree/PivotTreeWidget.h
Editor/View/Widgets/LoggingPanel/PivotTree/PivotTreeWidget.ui