libcamera/include/libcamera
Laurent Pinchart a4be7bb5ff libcamera: camera: Move private data members to private implementation
Use the d-pointer idiom ([1], [2]) to hide the private data members from
the Camera class interface. This will ease maintaining ABI
compatibility, and prepares for the implementation of the Camera class
threading model.

The FrameBufferAllocator class accesses the Camera private data members
directly. In order to hide them, this pattern is replaced with new
private member functions in the Camera class, and the
FrameBufferAllocator is updated accordingly.

[1] https://wiki.qt.io/D-Pointer
[2] https://en.cppreference.com/w/cpp/language/pimpl

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2020-01-23 22:36:30 +02:00
..
bound_method.h libcamera: bound_method: Use std::index_sequence 2020-01-22 17:26:05 +02:00
buffer.h libcamera: Remove dead code after switch to FrameBuffer 2020-01-12 16:10:38 +01:00
camera.h libcamera: camera: Move private data members to private implementation 2020-01-23 22:36:30 +02:00
camera_manager.h libcamera: camera_manager: Return a copy of the vector from cameras() 2020-01-23 22:36:30 +02:00
control_ids.h.in libcamera: control_ids: Generate map of all supported controls 2019-10-13 20:37:24 +03:00
controls.h libcamera: controls: Store reference to the InfoMap 2019-11-20 21:47:41 +02:00
event_dispatcher.h libcamera: event_dispatcher: Add interrupt() function 2019-01-23 18:51:56 +02:00
event_notifier.h libcamera: Add parent argument to constructors of Object-derived classes 2019-08-17 18:47:17 +03:00
file_descriptor.h libcamera: Add FileDescriptor to help pass numerical fds around 2020-01-12 16:10:37 +01:00
framebuffer_allocator.h libcamera: allocator: Add FrameBufferAllocator to help applications allocate buffers 2020-01-12 16:10:37 +01:00
gen-header.sh libcamera: controls: Auto-generate control_ids.h and control_ids.cpp 2019-10-05 20:02:51 +03:00
geometry.h libcamera: geometry: SizeRange: Add contains() 2019-06-19 02:23:01 +02:00
logging.h libcamera: logging: add syslog, stream, and nowhere logging targets 2019-07-17 14:36:35 +09:00
meson.build libcamera: allocator: Add FrameBufferAllocator to help applications allocate buffers 2020-01-12 16:10:37 +01:00
object.h libcamera: signal: Make slots list private 2020-01-22 17:26:42 +02:00
pixelformats.h libcamera: Define a PixelFormat type for application-facing formats 2019-10-28 13:07:50 +02:00
request.h libcamera: Switch to FrameBuffer interface 2020-01-12 16:10:38 +01:00
signal.h libcamera: signal: Make slots list private 2020-01-22 17:26:42 +02:00
stream.h libcamera: Remove dead code after switch to FrameBuffer 2020-01-12 16:10:38 +01:00
timer.h libcamera: Standardise on C compatibility headers 2019-10-23 17:39:39 +03:00
version.h.in libcamera: Rework automatic version generation to avoid rebuilds 2019-07-09 12:34:10 +03:00