Until

Represents a collection of fluent helper functions designed to make accessing and creating driver wait delegates easier

Unreal Engine C++ API Reference > Developer > AutomationDriver

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/WaitUntil.h
Include #include "WaitUntil.h"

Syntax

class Until  

Remarks

Represents a collection of fluent helper functions designed to make accessing and creating driver wait delegates easier

Functions

Type Name Description
FDriverWaitD... Condition ( const TFunction< bool()>& Function, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses
FDriverWaitD... Condition ( const FDriverWaitConditionDelegate ..., FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses
FDriverWaitD... Condition ( const TFunction< bool()>& Function, FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses The lambda is only re-evaluated at the specified wait interval
FDriverWaitD... Condition ( const FDriverWaitConditionDelegate ..., FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses The delegate is only re-evaluated at the specified wait interval
FDriverWaitD... ElementExists ( const TSharedRef< IElementLocator, ..., FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers elements or if the specified timeout timespan elapses
FDriverWaitD... ElementExists ( const TSharedRef< IElementLocator, ..., FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers elements or if the specified timeout timespan elapses; The element locator is only re-evaluated at the specified wait interval
FDriverWaitD... ElementIsInteractable ( const TSharedRef< IElementLocator, ..., FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers interactable elements or if the specified timeout timespan elapses
FDriverWaitD... ElementIsInteractable ( const TSharedRef< IElementLocator, ..., FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers interactable elements or if the specified timeout timespan elapses; The element locator is only re-evaluated at the specified wait interval
FDriverWaitD... ElementIsScrolledToBeginning ( const TSharedRef< IElementLocator, ..., FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the beginning or if the specified timeout timespan elapses
FDriverWaitD... ElementIsScrolledToBeginning ( const TSharedRef< IElementLocator, ..., FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the beginning or if the specified timeout timespan elapses The element locator is only re-evaluated at the specified wait interval
FDriverWaitD... ElementIsScrolledToEnd ( const TSharedRef< IElementLocator, ..., FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the end or if the specified timeout timespan elapses
FDriverWaitD... ElementIsScrolledToEnd ( const TSharedRef< IElementLocator, ..., FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the end or if the specified timeout timespan elapses The element locator is only re-evaluated at the specified wait interval
FDriverWaitD... ElementIsVisible ( const TSharedRef< IElementLocator, ..., FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers visible elements or if the specified timeout timespan elapses
FDriverWaitD... ElementIsVisible ( const TSharedRef< IElementLocator, ..., FWaitInterval Interval, FWaitTimeout Timeout ) Creates a new wait delegate which completes it's wait only if the specified element locator discovers visible elements or if the specified timeout timespan elapses; The element locator is only re-evaluated at the specified wait interval
FDriverWaitD... Lambda ( const TFunction< FDriverWaitRespons... ) Creates a new wait delegate which drives its state off the result of the specified lambda

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library