Files
UnrealEngine/Engine/Source/Developer/AutomationDriver/Private/DriverElement.h
2025-05-18 13:04:45 +08:00

53 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class IElementLocator;
class FAsyncAutomationDriver;
class IAsyncDriverElementCollection;
class IAsyncDriverElement;
class FAsyncDriverElementCollectionFactory
{
public:
static TSharedRef<IAsyncDriverElementCollection, ESPMode::ThreadSafe> Create(
const TSharedRef<FAsyncAutomationDriver, ESPMode::ThreadSafe>& AsyncDriver,
const TSharedRef<IElementLocator, ESPMode::ThreadSafe>& ElementLocator);
};
class FAsyncDriverElementFactory
{
public:
static TSharedRef<IAsyncDriverElement, ESPMode::ThreadSafe> Create(
const TSharedRef<FAsyncAutomationDriver, ESPMode::ThreadSafe>& AsyncDriver,
const TSharedRef<IElementLocator, ESPMode::ThreadSafe>& ElementLocator);
};
class FAutomationDriver;
class IDriverElementCollection;
class IDriverElement;
class FDriverElementCollectionFactory
{
public:
static TSharedRef<IDriverElementCollection, ESPMode::ThreadSafe> Create(
const TSharedRef<FAutomationDriver, ESPMode::ThreadSafe>& Driver,
const TSharedRef<IElementLocator, ESPMode::ThreadSafe>& ElementLocator);
};
class FDriverElementFactory
{
public:
static TSharedRef<IDriverElement, ESPMode::ThreadSafe> Create(
const TSharedRef<FAutomationDriver, ESPMode::ThreadSafe>& Driver,
const TSharedRef<IElementLocator, ESPMode::ThreadSafe>& ElementLocator);
};