Skip to content

FTrainingStateUpdate

A Struct representing an update to the overall training state.

struct FTrainingStateUpdate

Methods

FTrainingStateUpdate

inline FTrainingStateUpdate()

Construct a new empty training state update.


GetStep

inline const FTrainingStep &GetStep() const

Get the step data from this update.


GetReset

inline const FTrainingReset &GetReset() const

Get the reset data from this update.


IsStep

inline const bool IsStep() const

Check if this is a step update.


IsReset

inline const bool IsReset() const

Check if this is a reset update.


IsError

inline const bool IsError() const

Check if the connector has encountered an error.


IsClosed

inline const bool IsClosed() const

Check if the connector has been closed.

Attributes

UpdateType

ETrainingUpdateType UpdateType = ETrainingUpdateType::NONE

The type of update.


StepData

FTrainingStep StepData

Training step data (valid when UpdateType == STEP)


ResetData

FTrainingReset ResetData

Training reset data (valid when UpdateType == RESET)


Status

EConnectorStatusUpdate Status = EConnectorStatusUpdate::NONE

The status of the connector.

Source: Source/ScholaTraining/Public/TrainingDataTypes/TrainingUpdate.h