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