Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IAutomationLatentCommand Class Referenceabstract

#include <AutomationTest.h>

+ Inheritance diagram for IAutomationLatentCommand:
+ Collaboration 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
 
TWeakPtr< IAutomationLatentCommand, Mode > AsWeak ()
 
TWeakPtr< IAutomationLatentCommand const, Mode > AsWeak () const
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 
FORCEINLINE bool DoesSharedInstanceExist () const
 

Protected Member Functions

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

Protected Attributes

double StartTime
 

Private Member Functions

bool InternalUpdate ()
 

Friends

class FAutomationTestFramework
 

Additional Inherited Members

- Static Protected Member Functions inherited from TSharedFromThis< IAutomationLatentCommand >
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static FORCEINLINE 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...)

Definition at line 497 of file AutomationTest.h.

Constructor & Destructor Documentation

◆ ~IAutomationLatentCommand()

virtual IAutomationLatentCommand::~IAutomationLatentCommand ( )
inlinevirtual

Definition at line 501 of file AutomationTest.h.

◆ IAutomationLatentCommand()

IAutomationLatentCommand::IAutomationLatentCommand ( )
inlineprotected

Default constructor

Definition at line 524 of file AutomationTest.h.

Member Function Documentation

◆ GetCurrentRunTime()

double IAutomationLatentCommand::GetCurrentRunTime ( ) const
inlineprotected

Definition at line 530 of file AutomationTest.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InternalUpdate()

bool IAutomationLatentCommand::InternalUpdate ( )
inlineprivate

Private update that allows for use of "StartTime"

Definition at line 512 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ 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, FAutomationSpecBase::FSingleExecuteLatentCommand, FAutomationSpecBase::FUntilDoneLatentCommand, FAutomationSpecBase::FAsyncUntilDoneLatentCommand, FAutomationSpecBase::FAsyncLatentCommand, FFunctionLatentCommand, FDelayedFunctionLatentCommand, FUntilCommand, and IAutomationLatentCommandWithRetriesAndDelays.

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ FAutomationTestFramework

Definition at line 543 of file AutomationTest.h.

Member Data Documentation

◆ StartTime

double IAutomationLatentCommand::StartTime
protected

For timers, track the first time this ticks

Definition at line 541 of file AutomationTest.h.


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