Unreal SDK  v1.1
Loading...
Searching...
No Matches
WeArtTrackingCalibration.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GameFramework/Actor.h"
7#include "WeArtCommon.h"
8#include "WeArtTrackingCalibration.generated.h"
9
10DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationStartSignature,HandSide,handSide);
11DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationFinishSignature, HandSide, handSide);
12DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationResultSuccessSignature, HandSide, handSide);
13DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationResultFailSignature, HandSide, handSide);
14DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCalibrationStopSignature);
15
19UCLASS()
20class WEARTPLUGIN_API AWeArtTrackingCalibration : public AActor
21{
22 GENERATED_BODY()
23
24public:
25 // Sets default values for this actor's properties
27
28protected:
29 // Called when the game starts or when spawned
30 virtual void BeginPlay() override;
31
32public:
33 // Called every frame
34 virtual void Tick(float DeltaTime) override;
35
36 UPROPERTY(BlueprintAssignable)
37 FOnCalibrationStartSignature OnMiddlewareCalibrationStart;
38
39 UFUNCTION(BlueprintImplementableEvent)
40 void OnCalibrationStart(HandSide handSide);
41
42 UPROPERTY(BlueprintAssignable)
43 FOnCalibrationFinishSignature OnMiddlewareCalibrationFinish;
44
45 UFUNCTION(BlueprintImplementableEvent)
46 void OnCalibrationFinish(HandSide handSide);
47
48 UPROPERTY(BlueprintAssignable)
49 FOnCalibrationResultSuccessSignature OnMiddlewareCalibrationResultSuccess;
50
51 UFUNCTION(BlueprintImplementableEvent)
52 void OnCalibrationResultSuccess(HandSide handSide);
53
54 UPROPERTY(BlueprintAssignable)
55 FOnCalibrationResultFailSignature OnMiddlewareCalibrationResultFail;
56
57 UFUNCTION(BlueprintImplementableEvent)
58 void OnCalibrationResultFail(HandSide handSide);
59
60 UPROPERTY(BlueprintAssignable)
61 FOnCalibrationStopSignature OnMiddlewareCalibrationStop;
62
63 UFUNCTION(BlueprintImplementableEvent)
64 void OnCalibrationStop();
65
66};
HandSide
Definition: WeArtCommon.h:7
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationStartSignature, HandSide, handSide)
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCalibrationStopSignature)
Calibration status/result observer.
Definition: WeArtTrackingCalibration.h:21