12 #include <sys/types.h> 15 #include <libcamera/base/class.h> 16 #include <libcamera/base/object.h> 25 LIBCAMERA_DECLARE_PRIVATE()
33 std::vector<std::shared_ptr<Camera>>
cameras()
const;
34 std::shared_ptr<Camera>
get(
const std::string &id);
36 static const std::string &
version() {
return version_; }
44 static const std::string version_;
Top-level libcamera namespace.
Definition: bound_method.h:15
~CameraManager()
Destroy the camera manager.
Definition: camera_manager.cpp:308
static const std::string & version()
Retrieve the libcamera version string.
Definition: camera_manager.h:36
Signal< std::shared_ptr< Camera > > cameraAdded
Notify of a new camera added to the system.
Definition: camera_manager.h:38
Signal & slot implementation.
std::vector< std::shared_ptr< Camera > > cameras() const
Retrieve all available cameras.
Definition: camera_manager.cpp:365
int start()
Start the camera manager.
Definition: camera_manager.cpp:325
Provide access and manage all cameras in the system.
Definition: camera_manager.h:23
void stop()
Stop the camera manager.
Definition: camera_manager.cpp:347
Generic signal and slot communication mechanism.
Definition: signal.h:38
Signal< std::shared_ptr< Camera > > cameraRemoved
Notify of a new camera removed from the system.
Definition: camera_manager.h:39