Navigation
API > API/Plugins > API/Plugins/DataprepCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataprepContentProducer
References
| Module | DataprepCore |
| Header | /Engine/Plugins/Enterprise/DataprepEditor/Source/DataprepCore/Public/DataprepContentProducer.h |
| Include | #include "DataprepContentProducer.h" |
Syntax
UCLASS (Abstract, BlueprintType)
class UDataprepContentProducer : public UObject
Remarks
Abstract class to derived from to be a producer in the Dataprep asset
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDataprepProducerContext | Context | Context which the producer will run with | |
| TSharedPtr< FFeedbackContext > | FeedbackContext | The feedback context in use to check for user cancellation | |
| FDataprepProducerChanged | OnChanged | Delegate to broadcast changes to the producer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAddToProducersArray
(
bool bIsAutomated |
Allow a producer to pop a ui after being created. | |
| bool | Execute
(
TArray< TWeakObjectPtr< UObject > >& OutAssets |
Populates the world and fill up the array of assets. | |
| const FText & | Text briefly describing what the producer is doing to populate the world and assets. | ||
| const FText & | GetLabel () |
Name used by the UI to be displayed. | |
| FString | GetNamespace () |
Text briefly describing what the producer is doing to populate the world and assets. | |
| UDataprepContentProducer::FDataprepProducerChanged TBaseMulticastDelegate_OneParam | GetOnChanged () |
||
| bool | Initialize () |
Initialize the producer to be ready for a call to the Execute method. | |
| bool | IsActive () |
Allow a producer to pop a ui after being created. | |
| bool | IsCancelled () |
Returns true if the producer was cancelled during execution | |
| bool | IsValid () |
||
| void | |||
| void | Start of helper functions to log messages and report progress. | ||
| void | LogWarning
(
const FText& Message |
||
| bool | Produce
(
const FDataprepProducerContext& InContext, |
Successively calls the Initialize, Execute and Reset methods Additionally, to avoid naming collision, rename the newly created actors to include the producer's namespace. | |
| void | Reset () |
Clean up the objects used by the producer. | |
| bool | Supersede
(
const UDataprepContentProducer* OtherProducer |
A producer supersede another if its produces the same content or a super-set of the other's content |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDataprepProducerChanged | Allow an observer to be notified when one of the properties of the producer changes |