Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FAutomationSpecBase::FAsyncUntilDoneLatentCommand Class Reference
+ Inheritance diagram for FAutomationSpecBase::FAsyncUntilDoneLatentCommand:
+ Collaboration diagram for FAutomationSpecBase::FAsyncUntilDoneLatentCommand:

Public Member Functions

 FAsyncUntilDoneLatentCommand (FAutomationSpecBase *const InSpec, EAsyncExecution InExecution, TFunction< void(const FDoneDelegate &)> InPredicate, const FTimespan &InTimeout, bool bInSkipIfErrored=false)
 
virtual ~FAsyncUntilDoneLatentCommand ()
 
virtual bool Update () override
 
- 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
 

Private Member Functions

void Done ()
 
void Reset ()
 

Private Attributes

FAutomationSpecBase *const Spec
 
const EAsyncExecution Execution
 
const TFunction< void(const FDoneDelegate &) Predicate )
 
const FTimespan Timeout
 
const bool bSkipIfErrored
 
FThreadSafeBool bDone
 
FDateTime StartedRunning
 
TFuture< voidFuture
 

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)
 
- Protected Attributes inherited from IAutomationLatentCommand
double StartTime
 

Detailed Description

Definition at line 2236 of file AutomationTest.h.

Constructor & Destructor Documentation

◆ FAsyncUntilDoneLatentCommand()

FAutomationSpecBase::FAsyncUntilDoneLatentCommand::FAsyncUntilDoneLatentCommand ( FAutomationSpecBase *const InSpec,
EAsyncExecution InExecution,
TFunction< void(const FDoneDelegate &)> InPredicate,
const FTimespan & InTimeout,
bool bInSkipIfErrored = false )
inline

Definition at line 2240 of file AutomationTest.h.

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

◆ ~FAsyncUntilDoneLatentCommand()

virtual FAutomationSpecBase::FAsyncUntilDoneLatentCommand::~FAsyncUntilDoneLatentCommand ( )
inlinevirtual

Definition at line 2249 of file AutomationTest.h.

Member Function Documentation

◆ Done()

void FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Done ( )
inlineprivate

Definition at line 2285 of file AutomationTest.h.

+ Here is the call graph for this function:

◆ Reset()

void FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Reset ( )
inlineprivate

Definition at line 2290 of file AutomationTest.h.

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

◆ Update()

virtual bool FAutomationSpecBase::FAsyncUntilDoneLatentCommand::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 2252 of file AutomationTest.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ bDone

FThreadSafeBool FAutomationSpecBase::FAsyncUntilDoneLatentCommand::bDone
private

Definition at line 2305 of file AutomationTest.h.

◆ bSkipIfErrored

const bool FAutomationSpecBase::FAsyncUntilDoneLatentCommand::bSkipIfErrored
private

Definition at line 2303 of file AutomationTest.h.

◆ Execution

const EAsyncExecution FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Execution
private

Definition at line 2300 of file AutomationTest.h.

◆ Future

TFuture<void> FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Future
private

Definition at line 2307 of file AutomationTest.h.

◆ Predicate

const TFunction<void(const FDoneDelegate&) FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Predicate)
private

Definition at line 2301 of file AutomationTest.h.

◆ Spec

FAutomationSpecBase* const FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Spec
private

Definition at line 2299 of file AutomationTest.h.

◆ StartedRunning

FDateTime FAutomationSpecBase::FAsyncUntilDoneLatentCommand::StartedRunning
private

Definition at line 2306 of file AutomationTest.h.

◆ Timeout

const FTimespan FAutomationSpecBase::FAsyncUntilDoneLatentCommand::Timeout
private

Definition at line 2302 of file AutomationTest.h.


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