Files
UnrealEngineUWP/Engine/Source/Runtime/LiveLinkInterface/Public/LiveLinkController.h
ryan durand 0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00

38 lines
950 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)
class LIVELINKINTERFACE_API ULiveLinkController : public UObject
{
GENERATED_BODY()
public:
virtual TSubclassOf<ULiveLinkRole> GetRole() const PURE_VIRTUAL(ULiveLinkController::GetRole, return TSubclassOf<ULiveLinkRole>(););
/** Initialize the controller at the first tick of his 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
};