Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
Inheritance Hierarchy
- TDataFactory
- TDataReadReferenceFactory
- TDataTypeFactory
- TDataValueReferenceFactory
- TDataWriteReferenceFactory
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include | #include "MetasoundDataFactory.h" |
Syntax
template<typename DataType, typename CreatorType>
struct TDataFactory
Remarks
A base factory type for creating objects related to Metasound DataTypes.
TDataFactory provides a unified interface for constructing objects using a FOperatorSettings and a parameter pack of arguments. The various factory methods determine how strictly the DataType constructors must match the arguments to the factory method.
Functions
| Type | Name | Description | |
|---|---|---|---|
| auto | CreateAny
(
const FOperatorSettings& InSettings, |
Create the object using any supported constructor. | |
| auto | CreateExplicit
(
const FOperatorSettings& InSettings, |
Create the object using only a constructor which exactly matches the arguments to this factory method. | |
| auto | CreateExplicitArgs
(
const FOperatorSettings& InSettings, |
Create the object using only constructors which utilize all arguments in the parameter pack (ArgTypes...). |
Typedefs
| Name | Description |
|---|---|
| FInternalFactory |