UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IAutomationNetworkCommand Class Referenceabstract

#include <AutomationTest.h>

+ Inheritance diagram for IAutomationNetworkCommand:

Public Member Functions

virtual ~IAutomationNetworkCommand ()
 
virtual uint32 GetRoleIndex () const =0
 
virtual void Run ()=0
 
- Public Member Functions inherited from TSharedFromThis< IAutomationNetworkCommand >
TSharedRef< IAutomationNetworkCommand, Mode > AsShared ()
 
TSharedRef< IAutomationNetworkCommand const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< IAutomationNetworkCommand, Mode > AsWeak ()
 
TWeakPtr< IAutomationNetworkCommand const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< IAutomationNetworkCommand >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< IAutomationNetworkCommand >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Simple abstract base class for networked, multi-participant tests

Constructor & Destructor Documentation

◆ ~IAutomationNetworkCommand()

virtual IAutomationNetworkCommand::~IAutomationNetworkCommand ( )
inlinevirtual

Member Function Documentation

◆ GetRoleIndex()

virtual uint32 IAutomationNetworkCommand::GetRoleIndex ( ) const
pure virtual

Identifier to distinguish which worker on the network should execute this command

The index of the worker that should execute this command

◆ Run()

virtual void IAutomationNetworkCommand::Run ( )
pure virtual

Runs the network command


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