Files
UnrealEngineUWP/Engine/Source/Developer/LogVisualizer/Private/VisualLoggerCameraController.h
Jaroslaw Palczynski f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00

39 lines
1012 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Engine/DebugCameraController.h"
#include "VisualLoggerCameraController.generated.h"
UCLASS(config=Input, hidedropdown)
class AVisualLoggerCameraController : public ADebugCameraController
{
public:
DECLARE_DELEGATE_OneParam(FActorSelectedDelegate, class AActor*);
DECLARE_DELEGATE_OneParam(FLogEntryIterationDelegate, int32);
GENERATED_UCLASS_BODY()
UPROPERTY()
class AActor* PickedActor;
virtual void PostInitializeComponents() override;
static AVisualLoggerCameraController* EnableCamera(UWorld* InWorld);
static void DisableCamera(UWorld* InWorld);
static bool IsEnabled(UWorld* InWorld);
virtual void Select( FHitResult const& Hit ) override;
void ShowNextEntry();
void ShowPrevEntry();
static TWeakObjectPtr<AVisualLoggerCameraController> Instance;
FActorSelectedDelegate OnActorSelected;
FLogEntryIterationDelegate OnIterateLogEntries;
protected:
virtual void SetupInputComponent() override;
};