RealSenseSensor.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RealSenseTypes.h"
4 #include "RealSenseSensor.generated.h"
5 
6 UCLASS(ClassGroup="RealSense", BlueprintType)
7 class REALSENSE_API URealSenseSensor : public UObject
8 {
9  GENERATED_UCLASS_BODY()
10  friend class URealSenseDevice;
11 
12 public:
13 
14  virtual ~URealSenseSensor();
15  struct rs2_sensor* GetHandle();
16 
17  UFUNCTION(Category="RealSense", BlueprintCallable)
18  bool SupportsOption(ERealSenseOptionType Option);
19 
20  UFUNCTION(Category="RealSense", BlueprintCallable)
21  bool SupportsProfile(FRealSenseStreamProfile Profile);
22 
23  UFUNCTION(Category = "RealSense", BlueprintCallable)
24  class URealSenseOption* GetOption(ERealSenseOptionType OptionType);
25 
26  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
27  FString Name;
28 
29  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
30  TArray<class URealSenseOption*> Options;
31 
32  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
33  TArray<FRealSenseStreamProfile> StreamProfiles;
34 
35 private:
36 
37  void SetHandle(struct rs2_sensor* Handle);
38  class URealSenseOption* NewOption(struct rs2_options* Handle, ERealSenseOptionType Type, const TCHAR* Name);
39  void QueryData();
40 
41  struct rs2_sensor* RsSensor = nullptr;
42 };
ERealSenseOptionType


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39