Files
UnrealEngineUWP/Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Private/MetasoundInputNode.cpp
phil popp 56f03df53a Cleanup metasound input operators
#jira UE-173348
#rb Rob.Gay
#rnx
#preflight 63cec45f976daa618c129d14

[CL 23818819 by phil popp in ue5-main branch]
2023-01-23 14:24:03 -05:00

46 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MetasoundInputNode.h"
#include "MetasoundDataReference.h"
#include "MetasoundVertex.h"
#include "MetasoundVertexData.h"
#include "UObject/NameTypes.h"
namespace Metasound
{
namespace MetasoundInputNodePrivate
{
FDataReferenceCollection FInputOperatorBase::GetInputs() const
{
// This is slated to be deprecated and removed.
checkNoEntry();
return {};
}
FDataReferenceCollection FInputOperatorBase::GetOutputs() const
{
// This is slated to be deprecated and removed.
checkNoEntry();
return {};
}
FNonExecutableInputOperatorBase::FNonExecutableInputOperatorBase(const FVertexName& InVertexName, FAnyDataReference&& InDataRef)
: VertexName(InVertexName)
, DataRef(MoveTemp(InDataRef))
{
}
void FNonExecutableInputOperatorBase::Bind(FVertexInterfaceData& InVertexData) const
{
InVertexData.GetInputs().BindVertex(VertexName, DataRef);
InVertexData.GetOutputs().BindVertex(VertexName, DataRef);
}
IOperator::FExecuteFunction FNonExecutableInputOperatorBase::GetExecuteFunction()
{
return nullptr;
}
}
}