Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Inheritance Hierarchy
- IDataReference
- TDataReference
- TDataReadReference
- TDataValueReference
- TDataWriteReference
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataReference.h |
| Include | #include "MetasoundDataReference.h" |
Syntax
template<typename DataType>
class TDataReference : public Metasound::IDataReference
Remarks
Template class for a paramter reference.
This fulfills the IParamterRef interface, utilizing TDataReferenceTypeInfo to define the the TypeName and TypeId of the parameter.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRefType | ObjectReference | Protected object reference is utilized by subclasses which define what access is provided to the ObjectReference. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDataReference
(
const TDataReference< DataType >& Other |
Enable copy constructor | ||
TDataReference
(
TDataReference< DataType >&& Other |
Enable move constructor | ||
TDataReference
(
EDataRefShouldConstruct InToken, |
This constructor forwards arguments to an underlying constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TDataReference< DataType > | CreateNew
(
ArgTypes&&... Args |
This should be used to construct a new DataType object and return this TDataReference as a wrapper around it. |
Overridden from IDataReference
| Type | Name | Description | |
|---|---|---|---|
| const void *const | Return the ID of the underlying type. | ||
| const FName & | Return the name of the underlying type. | ||
| void * | GetRaw () |
Return a raw pointer to the data. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TDataReference< DataType > & | operator=
(
const TDataReference< DataType >& Other |
Enable copy operator | |
| TDataReference< DataType > & | operator=
(
TDataReference< DataType >&& Other |
Enable move operator |