Files
UnrealEngineUWP/Engine/Source/Developer/AutomationDriver/Public/DriverConfiguration.h
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00

29 lines
735 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* A model class that holds all the configuration options for an AutomationDriver
*/
class FDriverConfiguration
{
public:
/**
* The timespan any action should conditionally wait for a scenario to occur before failing, such as, waiting for
* a locator to locate a specific application element.
*/
FTimespan ImplicitWait;
/**
* The multiplier at which the automation driver should adjusts the time between individual steps by.
* The automation driver caps the minimum wait time to one frame.
*/
float ExecutionSpeedMultiplier;
FDriverConfiguration()
: ImplicitWait(FTimespan::FromSeconds(3))
, ExecutionSpeedMultiplier(1.0)
{ }
};