Files
UnrealEngineUWP/Engine/Source/Runtime/LiveLinkInterface/Public/LiveLinkController.h
henrik karlsson 5db685f97d [Engine]
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds

[CL 26082269 by henrik karlsson in ue5-main branch]
2023-06-17 18:13:06 -04:00

38 lines
962 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/UObjectGlobals.h"
#include "UObject/Object.h"
#include "LiveLinkRole.h"
#include "Templates/SubclassOf.h"
#include "LiveLinkController.generated.h"
class AActor;
/**
* Basic object to control a UObject live link frames
*/
UCLASS(Abstract, MinimalAPI)
class ULiveLinkController : public UObject
{
GENERATED_BODY()
public:
LIVELINKINTERFACE_API virtual TSubclassOf<ULiveLinkRole> GetRole() const PURE_VIRTUAL(ULiveLinkController::GetRole, return TSubclassOf<ULiveLinkRole>(););
/** Initialize the controller at the first tick of its owner component. */
virtual void OnRegistered() { }
/** Function called every frame. */
virtual void Tick(float DeltaTime, const FLiveLinkSubjectRepresentation& SubjectRepresentation) { }
#if WITH_EDITOR
virtual void InitializeInEditor(UObject* FromObject) { }
#endif
};