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