7#ifndef __LIBCAMERA_INTERNAL_CAMERA_H__
8#define __LIBCAMERA_INTERNAL_CAMERA_H__
50 bool isRunning()
const;
51 int isAccessAllowed(State state,
bool allowDisconnected =
false,
52 const char *from = __builtin_FUNCTION())
const;
53 int isAccessAllowed(State low, State high,
54 bool allowDisconnected =
false,
55 const char *from = __builtin_FUNCTION())
const;
58 void setState(State state);
60 std::shared_ptr<PipelineHandler> pipe_;
62 std::set<Stream *> streams_;
63 std::set<const Stream *> activeStreams_;
66 std::atomic<State> state_;
Utilities to help constructing class interfaces.
#define LIBCAMERA_DECLARE_PUBLIC(klass)
Declare public data for a private class.
Base class for camera private data.
Definition: camera.h:26
PipelineHandler * pipe()
Retrieve the pipeline handler related to this camera.
Definition: camera.h:33
ControlInfoMap controlInfo_
The set of controls supported by the camera.
Definition: camera.h:36
uint32_t requestSequence_
The queuing sequence number of the request.
Definition: camera.h:39
ControlList properties_
The list of properties supported by the camera.
Definition: camera.h:37
std::list< Request * > queuedRequests_
The list of queued and not yet completed requests.
Definition: camera.h:35
Camera device.
Definition: camera.h:77
A map of ControlId to ControlInfo.
Definition: controls.h:306
Associate a list of ControlId with their values for an object.
Definition: controls.h:350
Base class for private data managed through a d-pointer.
Definition: class.h:65
Private()
Construct an instance of an Extensible class private data.
Definition: class.cpp:194
Create and manage cameras based on a set of media devices.
Definition: pipeline_handler.h:37
Top-level libcamera namespace.
Definition: bound_method.h:15