RealSenseDetailCustomization.h
Go to the documentation of this file.
1 #pragma once
2 
3 #if WITH_EDITOR
4 
5 #include "IDetailCustomization.h"
6 #include "IPropertyTypeCustomization.h"
7 #include "PropertyHandle.h"
8 
9 namespace rs2 { class device_list; }
10 
11 class FRealSenseDetailCustomization
12 {
13 public:
14  static void Register();
15  static void Unregister();
16 };
17 
18 class FRealSenseInspectorCustomization : public IDetailCustomization
19 {
20 public:
21  static TSharedRef<IDetailCustomization> MakeInstance();
22 
23  FRealSenseInspectorCustomization();
24  virtual void CustomizeDetails(class IDetailLayoutBuilder& DetailLayout) override;
25 
26 private:
27  void UpdateDevices();
28  bool PickFile(FString& OutPath, const void* ParentWindow, const FString& Title, const FString& Filter, bool SaveFlag = false);
29 
30  IDetailLayoutBuilder* DetailLayoutPtr;
31  TUniquePtr<class rs2::device_list> RsDevices;
32  TMap<FString, float> ValueCache;
33 };
34 
35 #endif // WITH_EDITOR
Definition: cah-model.h:10


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