RICOH Camera USB SDK for C++  1.1.0
RICOH Camera USB SDK for C++
live_view_specification.hpp
Go to the documentation of this file.
1 // Copyright (c) 2017 Ricoh Company, Ltd. All Rights Reserved.
2 #ifndef RICOH_CAMERA_SDK_LIVE_VIEW_SPECIFICATION_HPP_
3 #define RICOH_CAMERA_SDK_LIVE_VIEW_SPECIFICATION_HPP_
4 
5 //#include <ricoh_camera_sdk/capture_setting.hpp>
9 #include <array>
10 
11 namespace Ricoh {
12 namespace CameraController {
13 
17 struct LiveViewImage {
18  int32_t width;
19  int32_t height;
20 
28  std::array<Point, 4> focusArea;
29 };
30 
35 public:
36 
41 
42  ~LiveViewSpecification() = default;
43 
44 private:
46 
47  static const std::string Name;
48 };
49 
54 public:
59 
60  ~LiveViewSpecificationValue() = default;
61 
62  bool operator==(const CameraDeviceSettingValue& obj) const override;
63  bool operator!=(const CameraDeviceSettingValue& obj) const override;
64 
70  const LiveViewImage& get() const;
71 
72  std::string toString() const override;
73 
74 private:
75  LiveViewImage value_;
76 };
77 
78 } // namespace CameraController
79 } // namespace Ricoh
80 
81 #endif // RICOH_CAMERA_SDK_LIVE_VIEW_SPECIFICATION_HPP_
Definition: camera_device.hpp:13
int32_t width
Definition: live_view_specification.hpp:18
The stracture for live view image.
Definition: live_view_specification.hpp:17
This class is base for value of camera settings.
Definition: camera_device_setting.hpp:60
#define RCSDK_API
Definition: export.hpp:17
The class for setting value of live view specification.
Definition: live_view_specification.hpp:53
std::array< Point, 4 > focusArea
The vertices of focusable rectangular area. focusArea.at(0): upper-left vertex focusArea.at(1): upper-right vertex focusArea.at(2): lower-right vertex focusArea.at(3): lower-left vertex.
Definition: live_view_specification.hpp:28
The class for setting of live view specification.
Definition: live_view_specification.hpp:34
int32_t height
Definition: live_view_specification.hpp:19
This class is base class for camera device settings. Sub classes of this class are used to handle cam...
Definition: camera_device_setting.hpp:19