Definition at line 23 of file base.hpp.
◆ push_frame_cb_t
using bnb::camera_base::push_frame_cb_t = std::function<void(bnb::full_image_t image)> |
◆ camera_format
enum class bnb::camera_base::camera_format |
|
strong |
Definition at line 28 of file base.hpp.
29 {
30 RGBA,
31 YUV
32 };
◆ camera_base()
bnb::camera_base::camera_base |
( |
push_frame_cb_t | cb | ) |
|
|
inlineexplicit |
Definition at line 38 of file base.hpp.
39 : m_push_frame_cb(std::move(cb))
40 , m_is_abort_requested(false)
41 , m_device_index(0)
42 {
43 }
◆ abort()
virtual void bnb::camera_base::abort |
( |
| ) |
|
|
inlineprotectedvirtual |
Definition at line 63 of file base.hpp.
64 {
65 m_is_abort_requested = true;
66 }
◆ get_connected_devices()
Definition at line 48 of file base.hpp.
49 {
50 return m_connected_devices;
51 }
◆ get_current_device_index()
size_t bnb::camera_base::get_current_device_index |
( |
| ) |
const |
|
inline |
Definition at line 52 of file base.hpp.
53 {
54 return m_device_index;
55 }
◆ current_format
camera_format bnb::camera_base::current_format = camera_format::RGBA |
|
inlinestatic |
◆ m_connected_devices
◆ m_device_index
size_t bnb::camera_base::m_device_index |
|
protected |
◆ m_is_abort_requested
std::atomic_bool bnb::camera_base::m_is_abort_requested |
|
protected |
◆ m_push_frame_cb
push_frame_cb_t bnb::camera_base::m_push_frame_cb |
|
protected |
The documentation for this class was generated from the following file:
- /Users/itumashyk/Workspace/banuba_sdk/libs/spal/bnb/spal/camera/base.hpp