RealSenseOption.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RealSenseTypes.h"
4 #include "RealSenseOption.generated.h"
5 
6 UCLASS(ClassGroup="RealSense", BlueprintType)
7 class REALSENSE_API URealSenseOption : public UObject
8 {
9  GENERATED_UCLASS_BODY()
10  friend class URealSenseSensor;
11 
12 public:
13 
14  virtual ~URealSenseOption();
15  struct rs2_options* GetHandle();
16 
17  float GetCachedValue() const { return Value; }
18 
19  UFUNCTION(Category="RealSense", BlueprintCallable)
20  float QueryValue();
21 
22  UFUNCTION(Category="RealSense", BlueprintCallable)
23  void SetValue(float Value);
24 
25  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
27 
28  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
29  FString Name;
30 
31  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
32  FString Description;
33 
34  UPROPERTY(Category="RealSense", BlueprintReadOnly, VisibleAnywhere)
36 
37 private:
38 
39  void SetHandle(struct rs2_options* Handle);
40  void SetType(ERealSenseOptionType Type);
41  void QueryData();
42 
43  struct rs2_options* RsOptions = nullptr;
44  float Value = 0;
45 };
ERealSenseOptionType
::sensor_msgs::Range_< std::allocator< void > > Range
Definition: Range.h:75
IMGUI_API void Value(const char *prefix, bool b)
Definition: imgui.cpp:9538


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