UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IAutomationLatentCommand Class Referenceabstract

#include <AutomationTest.h>

+ Inheritance diagram for IAutomationLatentCommand:

Public Member Functions

virtual ~IAutomationLatentCommand ()
 
virtual bool Update ()=0
 
- Public Member Functions inherited from TSharedFromThis< IAutomationLatentCommand >
TSharedRef< IAutomationLatentCommand, Mode > AsShared ()
 
TSharedRef< IAutomationLatentCommand const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< IAutomationLatentCommand, Mode > AsWeak ()
 
TWeakPtr< IAutomationLatentCommand const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Protected Member Functions

 IAutomationLatentCommand ()
 
double GetCurrentRunTime () const
 
- Protected Member Functions inherited from TSharedFromThis< IAutomationLatentCommand >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 

Protected Attributes

double StartTime
 

Friends

class FAutomationTestFramework
 

Additional Inherited Members

- Static Protected Member Functions inherited from TSharedFromThis< IAutomationLatentCommand >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Simple abstract base class for creating time deferred of a single test that need to be run sequentially (Loadmap & Wait, Open Editor & Wait, then execute...)

Constructor & Destructor Documentation

◆ ~IAutomationLatentCommand()

virtual IAutomationLatentCommand::~IAutomationLatentCommand ( )
inlinevirtual

◆ IAutomationLatentCommand()

IAutomationLatentCommand::IAutomationLatentCommand ( )
inlineprotected

Default constructor

Member Function Documentation

◆ GetCurrentRunTime()

double IAutomationLatentCommand::GetCurrentRunTime ( ) const
inlineprotected

◆ Update()

virtual bool IAutomationLatentCommand::Update ( )
pure virtual

Updates the current command and will only return TRUE when it has fulfilled its role (Load map has completed and wait time has expired)

Implemented in FThreadedAutomationLatentCommand, FFunctionLatentCommand, FDelayedFunctionLatentCommand, FUntilCommand, and IAutomationLatentCommandWithRetriesAndDelays.

Friends And Related Symbol Documentation

◆ FAutomationTestFramework

Member Data Documentation

◆ StartTime

double IAutomationLatentCommand::StartTime
protected

For timers, track the first time this ticks


The documentation for this class was generated from the following file: