Navigation
API > API/Plugins > API/Plugins/DataprepCore
A UDataprepAssetProducers is a utility class to manage the set of producers constituting the inputs of a DataprepAssetInterface. It provides a set of methods to edit the set of producers and their respective configuration.
| Name | UDataprepAssetProducers |
| Type | class |
| Header File | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepAssetProducers.h |
| Include Path | #include "DataprepAssetProducers.h" |
Syntax
UCLASS ()
class UDataprepAssetProducers : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataprepAssetProducers
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UDataprepAssetProducers() |
DataprepAssetProducers.h |
Classes
| Name | Remarks |
|---|---|
| FOnDataprepProducersChanged | Allow an observer to be notified when when one of the producer has changed |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnChanged | FOnDataprepProducersChanged | Delegate broadcasted when one of the producers has changed | DataprepAssetProducers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDataprepContentProducer * AddProducer
(
UClass* ProducerClass |
Add a producer of a given class | DataprepAssetProducers.h | |
UDataprepContentProducer * AddProducerAutomated
(
UClass* ProducerClass |
Add a producer of a given class but don't pop any ui | DataprepAssetProducers.h | |
UDataprepContentProducer * CopyProducer
(
const UDataprepContentProducer* InProducer |
Add a copy of a producer | DataprepAssetProducers.h | |
bool EnableAllProducers
(
bool bValue |
Enable/Disable the producer at a given index | DataprepAssetProducers.h | |
void EnableProducer
(
int32 Index, |
Enable/Disable the producer at a given index | DataprepAssetProducers.h | |
UDataprepAssetProducers::FOnDataprepProducersChanged TBaseMulticastDelegate_TwoParams GetOnChanged() |
DataprepAssetProducers.h | ||
const UDataprepContentProducer * GetProducer
(
int32 Index |
DataprepAssetProducers.h | ||
UDataprepContentProducer * GetProducer
(
int32 Index |
DataprepAssetProducers.h | ||
int32 GetProducersCount() |
DataprepAssetProducers.h | ||
bool IsProducerEnabled
(
int32 Index |
DataprepAssetProducers.h | ||
bool IsProducerSuperseded
(
int32 Index |
DataprepAssetProducers.h | ||
virtual void PostEditUndo() |
DataprepAssetProducers.h | ||
TArray< TWeakObjectPtr< UObject > > Produce
(
const FDataprepProducerContext& InContext |
Run all producers of the Dataprep asset | DataprepAssetProducers.h | |
void RemoveAllProducers() |
Remove all producers | DataprepAssetProducers.h | |
bool RemoveProducer
(
int32 IndexToRemove |
Remove the producer at a given index | DataprepAssetProducers.h | |
virtual void Serialize
(
FArchive& Ar |
DataprepAssetProducers.h | ||
void ToggleProducer
(
int32 Index |
Toggle the producer at a given index | DataprepAssetProducers.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddAssetProducer
(
const FDataprepAssetProducer& AssetProducer |
Append an FDataprepAssetProducer | DataprepAssetProducers.h | |
void OnProducerChanged
(
const UDataprepContentProducer* InProducer |
Answer notification that the consumer has changed | DataprepAssetProducers.h |