Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Template class for a paramter reference.
This fulfills the IParamterRef interface, utilizing TDataReferenceTypeInfo to define the the TypeName and TypeId of the parameter.
| Name | TDataReference |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include Path | #include "MetasoundDataReference.h" |
Syntax
template<typename DataType>
class TDataReference : public Metasound::IDataReference
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDataReference
(
const TDataReference< DataType >& Other |
Enable copy constructor | MetasoundDataReference.h | |
TDataReference
(
TDataReference< DataType >&& Other |
Enable move constructor | MetasoundDataReference.h | |
TDataReference
(
EDataRefShouldConstruct InToken, |
This constructor forwards arguments to an underlying constructor. | MetasoundDataReference.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInfoType | TDataReferenceTypeInfo< DataType > | MetasoundDataReference.h | |
| FRefType | TSharedRef< DataType, ESPMode::NotThreadSafe > | MetasoundDataReference.h |
Functions
Public
Overridden from IDataReference
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const void *const GetDataTypeId() |
Return the ID of the underlying type. | MetasoundDataReference.h | |
virtual const FName & GetDataTypeName() |
Return the name of the underlying type. | MetasoundDataReference.h | |
virtual void * GetRaw() |
Return a raw pointer to the data. | MetasoundDataReference.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TDataReference< DataType > CreateNew
(
ArgTypes&&... Args |
This should be used to construct a new DataType object and return this TDataReference as a wrapper around it. | MetasoundDataReference.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDataReference< DataType > & operator=
(
const TDataReference< DataType >& Other |
Enable copy operator | MetasoundDataReference.h | |
TDataReference< DataType > & operator=
(
TDataReference< DataType >&& Other |
Enable move operator | MetasoundDataReference.h |