36 lines
830 B
C++
36 lines
830 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "IAutomationControllerManager.h"
|
|
|
|
/**
|
|
* Interface for AutomationController modules.
|
|
*/
|
|
class IAutomationControllerModule
|
|
: public IModuleInterface
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Gets the automation controller.
|
|
*
|
|
* @return a reference to the automation controller.
|
|
*/
|
|
virtual IAutomationControllerManagerRef GetAutomationController( ) = 0;
|
|
|
|
/** Init message bus usage. */
|
|
virtual void Init() = 0;
|
|
|
|
/** Tick function that will execute enabled tests for different device clusters. */
|
|
virtual void Tick() = 0;
|
|
|
|
static IAutomationControllerModule& Get()
|
|
{
|
|
return FModuleManager::GetModuleChecked<IAutomationControllerModule>("AutomationController");
|
|
}
|
|
};
|