Banuba SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
libs
spal
bnb
spal
camera
platform
osx
camera_mac.hpp
1
#pragma once
2
3
#include <bnb/types/base_types.hpp>
4
#include <bnb/spal/camera/base.hpp>
5
6
#if BNB_OS_MACOS
7
8
#include <thread>
9
#include <memory>
10
11
12
namespace
bnb
13
{
14
class
camera_mac :
public
camera_base
15
{
16
public
:
17
explicit
camera_mac(
const
camera_base::push_frame_cb_t& cb);
18
~camera_mac()
override
;
19
20
void
set_device_by_index(uint32_t index)
override
;
21
void
set_device_by_id(
const
std::string& device_id)
override
;
22
void
start()
override
;
23
24
private
:
25
struct
impl;
26
std::unique_ptr<impl> m_impl;
27
};
28
}
// namespace bnb
29
#endif
bnb::camera_base
Definition
base.hpp:24
Generated by
1.17.0