[libcamera-devel] [PATCH v2 0/3] libcamera: Mark controls and property accessors as const operations
Niklas Söderlund
niklas.soderlund at ragnatech.se
Fri Aug 14 12:45:06 CEST 2020
Hi,
This small series marks aims to make the Camera::controls() and
Camera::properties() methods const operations in order to allow them to
be called on a const Camera *ptr.
It also aims to make our public API a bit stricter and clearer which is
always nice.
Niklas Söderlund (3):
libcamera: pipeline_handler: Add const version of cameraData()
libcamera: pipeline_handler: Mark controls() and properties() as const
operations
libcamera: camera: Mark controls() and properties() as const
operations
include/libcamera/camera.h | 4 ++--
include/libcamera/internal/pipeline_handler.h | 5 +++--
src/libcamera/camera.cpp | 4 ++--
src/libcamera/pipeline_handler.cpp | 21 +++++++++++++++----
4 files changed, 24 insertions(+), 10 deletions(-)
--
2.28.0
More information about the libcamera-devel
mailing list