UDataprepAssetProducers

A [UDataprepAssetProducers](API\Plugins\DataprepCore\UDataprepAssetProducers) is a utility class to manage the set of producers constituting the inputs of a DataprepAssetInterface.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UDataprepAssetProducers

References

Module

DataprepCore

Header

/Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepAssetProducers.h

Include

#include "DataprepAssetProducers.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UDataprepAssetProducers : public UObject

Remarks

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.

Variables

Name Description

Protected variable UProperty

TArray< FDatapr...

 

AssetProducers

List of producers referenced by the asset

Protected variable UProperty

int32

 

Padding

List of producers referenced by the asset

Destructors

Name Description

Public function Virtual

~UDataprepAssetProducers()

Functions

Name Description

Protected function

int32

 

AddAssetProducer

(
    const FDataprepAssetProducer& Asse...
)

Append an FDataprepAssetProducer

Public function

UDataprepCon...

 

AddProducer

(
    UClass* ProducerClass
)

Add a producer of a given class

Public function

UDataprepCon...

 

AddProducerAutomated

(
    UClass* ProducerClass
)

Add a producer of a given class but don't pop any ui

Public function

UDataprepCon...

 

CopyProducer

(
    const UDataprepContentProducer*...
)

Add a copy of a producer

Public function

bool

 

EnableAllProducers

(
    bool bValue
)

Enable/Disable the producer at a given index

Public function

void

 

EnableProducer

(
    int32 Index,
    bool bValue
)

Enable/Disable the producer at a given index

Public function

UDataprepAss...

 

GetOnChanged()

Public function Const

const UDatap...

 

GetProducer

(
    int32 Index
)

Public function

UDataprepCon...

 

GetProducer

(
    int32 Index
)

Public function Const

int32

 

GetProducersCount()

Public function Const

bool

 

IsProducerEnabled

(
    int32 Index
)

Public function Const

bool

 

IsProducerSuperseded

(
    int32 Index
)

Protected function

void

 

OnProducerChanged

(
    const UDataprepContentProducer*...
)

Answer notification that the consumer has changed

Public function

TArray< TWea...

 

Produce

(
    const FDataprepProducerContext& In...
)

Run all producers of the Dataprep asset

Public function

void

 

RemoveAllProducers()

Remove all producers

Public function

bool

 

RemoveProducer

(
    int32 IndexToRemove
)

Remove the producer at a given index

Public function

void

 

ToggleProducer

(
    int32 Index
)

Toggle the producer at a given index

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Classes

Name

Description

Public class

FOnDataprepProducersChanged

Allow an observer to be notified when when one of the producer has changed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss