Unreal SDK  v1.3.0
Loading...
Searching...
No Matches
WeArtTrackingCalibration.h
Go to the documentation of this file.
1
5#pragma once
6
7#include "CoreMinimal.h"
8#include "GameFramework/Actor.h"
9#include "WeArtCommon.h"
11
12DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationStartSignature,EHandSide,handSide);
13DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationFinishSignature, EHandSide, handSide);
14DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationResultSuccessSignature, EHandSide, handSide);
15DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationResultFailSignature, EHandSide, handSide);
16DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCalibrationStopSignature);
17
21UCLASS()
23{
24 GENERATED_BODY()
25
26public:
27 // Sets default values for this actor's properties
29
30protected:
31 // Called when the game starts or when spawned
32 virtual void BeginPlay() override;
33
34public:
35 // Called every frame
36 virtual void Tick(float DeltaTime) override;
37
39 UPROPERTY(BlueprintAssignable)
40 FOnCalibrationStartSignature OnMiddlewareCalibrationStart;
41
46 UFUNCTION(BlueprintImplementableEvent)
47 void OnCalibrationStart(EHandSide handSide);
48
50 UPROPERTY(BlueprintAssignable)
51 FOnCalibrationFinishSignature OnMiddlewareCalibrationFinish;
52
57 UFUNCTION(BlueprintImplementableEvent)
58 void OnCalibrationFinish(EHandSide handSide);
59
61 UPROPERTY(BlueprintAssignable)
62 FOnCalibrationResultSuccessSignature OnMiddlewareCalibrationResultSuccess;
63
68 UFUNCTION(BlueprintImplementableEvent)
69 void OnCalibrationResultSuccess(EHandSide handSide);
70
72 UPROPERTY(BlueprintAssignable)
73 FOnCalibrationResultFailSignature OnMiddlewareCalibrationResultFail;
74
79 UFUNCTION(BlueprintImplementableEvent)
80 void OnCalibrationResultFail(EHandSide handSide);
81
83 UPROPERTY(BlueprintAssignable)
84 FOnCalibrationStopSignature OnMiddlewareCalibrationStop;
85
87 UFUNCTION(BlueprintImplementableEvent)
88 void OnCalibrationStop();
89
90};
#define WEARTPLUGIN_API
Definition: Definitions.WEARTPlugin.h:26
EHandSide
Definition: WeArtCommon.h:8
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnCalibrationStartSignature, EHandSide, handSide)
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnCalibrationStopSignature)
Calibration status/result observer.
Definition: WeArtTrackingCalibration.h:23