Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
TDataReadReference provides read access to a shared parameter reference.
| Name | TDataReadReference |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include Path | #include "MetasoundDataReference.h" |
Syntax
template<typename DataType>
class TDataReadReference : public Metasound::TDataReference< DataType >
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDataReadReference
(
const TDataReadReference& Other |
MetasoundDataReference.h | ||
TDataReadReference
(
const TDataWriteReference< DataType >& WritableRef |
Construct a readable parameter ref from a writable parameter ref. | MetasoundDataReference.h | |
TDataReadReference
(
const TDataValueReference< DataType >& ValueRef |
Construct a readable reference from a value reference. | MetasoundDataReference.h | |
TDataReadReference
(
EDataRefShouldConstruct InToken, |
Construct operator with no arguments if the DataType has a default constructor. | MetasoundDataReference.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const DataType * Get() |
Non-const access to the underlying parameter object. | MetasoundDataReference.h |
Overridden from IDataReference
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TUniquePtr< IDataReference > Clone() |
Create a clone of this parameter reference. | MetasoundDataReference.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TDataReadReference< DataType > CreateNew
(
ArgTypes&&... Args |
This should be used to construct a new DataType object and return this TDataReadReference as a wrapper around it. | MetasoundDataReference.h | |
static TDataReadReference CreateNewDerived
(
ArgTypes&&... Args |
MetasoundDataReference.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const DataType & operator*() |
Const access to the underlying parameter object. | MetasoundDataReference.h | |
TDataReadReference< DataType > & operator=
(
const TDataWriteReference< DataType >& Other |
Assign a readable parameter ref from a writable parameter ref. | MetasoundDataReference.h | |
TDataReadReference< DataType > & operator=
(
const TDataReadReference< DataType >& Other |
Enable copy operator | MetasoundDataReference.h | |
TDataReadReference< DataType > & operator=
(
TDataReadReference< DataType >&& Other |
Enable move operator | MetasoundDataReference.h | |
const DataType * operator->() |
Const access to the underlying parameter object. | MetasoundDataReference.h |