Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FThreadedAutomationLatentCommand Class Reference

#include <AutomationTest.h>

+ Inheritance diagram for FThreadedAutomationLatentCommand:
+ Collaboration diagram for FThreadedAutomationLatentCommand:

Public Member Functions

virtual ~FThreadedAutomationLatentCommand ()
 
virtual bool Update () override
 
 FThreadedAutomationLatentCommand (TUniqueFunction< void()> InFunction)
 
- Public Member Functions inherited from IAutomationLatentCommand
virtual ~IAutomationLatentCommand ()
 
- 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 Attributes

TUniqueFunction< void()> Function
 
TFuture< voidFuture
 
- Protected Attributes inherited from IAutomationLatentCommand
double StartTime
 

Friends

class FAutomationTestFramework
 

Additional Inherited Members

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

A simple latent command that runs the provided function on another thread

Definition at line 549 of file AutomationTest.h.

Constructor & Destructor Documentation

◆ ~FThreadedAutomationLatentCommand()

virtual FThreadedAutomationLatentCommand::~FThreadedAutomationLatentCommand ( )
inlinevirtual

Definition at line 553 of file AutomationTest.h.

◆ FThreadedAutomationLatentCommand()

FThreadedAutomationLatentCommand::FThreadedAutomationLatentCommand ( TUniqueFunction< void()> InFunction)
inline

Definition at line 565 of file AutomationTest.h.

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

Member Function Documentation

◆ Update()

virtual bool FThreadedAutomationLatentCommand::Update ( )
inlineoverridevirtual

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

Implements IAutomationLatentCommand.

Definition at line 555 of file AutomationTest.h.

Friends And Related Symbol Documentation

◆ FAutomationTestFramework

Definition at line 575 of file AutomationTest.h.

Member Data Documentation

◆ Function

TUniqueFunction<void()> FThreadedAutomationLatentCommand::Function
protected

Definition at line 571 of file AutomationTest.h.

◆ Future

TFuture<void> FThreadedAutomationLatentCommand::Future
protected

Definition at line 573 of file AutomationTest.h.


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