Auterion App SDK
Auterion SDK is a library that can be used by AuterionOS apps to communicate with the system.
Loading...
Searching...
No Matches
auterion::CameraMonitor Class Reference

Monitor for new or removed cameras, of both camera protocols. Existing cameras are reported from the constructor, later changes from the SDK executor. Open a camera from on_camera_added with Camera(sdk, descriptor): Camera::open() spins the executor. More...

#include <auterion_sdk/camera/camera.hpp>

Public Types

using NotificationCallback = std::function< void(const CameraDescriptor &)>
 

Public Member Functions

 CameraMonitor (SDK &sdk, const NotificationCallback &on_camera_added, const NotificationCallback &on_camera_removed=nullptr)
 

Detailed Description

Monitor for new or removed cameras, of both camera protocols. Existing cameras are reported from the constructor, later changes from the SDK executor. Open a camera from on_camera_added with Camera(sdk, descriptor): Camera::open() spins the executor.


The documentation for this class was generated from the following file: