@@ -85,6 +85,7 @@ public:
int release();
const ControlInfoMap &controls();
+ const ControlList &properties();
const std::set<Stream *> &streams() const;
std::unique_ptr<CameraConfiguration> generateConfiguration(const StreamRoles &roles);
@@ -551,7 +551,8 @@ int Camera::release()
/**
* \brief Retrieve the list of controls supported by the camera
*
- * Camera controls remain constant through the lifetime of the camera.
+ * The list of controls supported by the camera and their associated
+ * constraints remain constant through the lifetime of the Camera object.
*
* \return A ControlInfoMap listing the controls supported by the camera
*/
@@ -560,6 +561,19 @@ const ControlInfoMap &Camera::controls()
return pipe_->controls(this);
}
+/**
+ * \brief Retrieve the list of properties of the camera
+ *
+ * Camera properties are static information that describe the capabilities of
+ * the camera. They remain constant through the lifetime of the Camera object.
+ *
+ * \return A ControlList of properties supported by the camera
+ */
+const ControlList &Camera::properties()
+{
+ return pipe_->properties(this);
+}
+
/**
* \brief Retrieve all the camera's stream information
*