Banuba SDK
libs
spal
bnb
spal
interfaces
frames_provider.hpp
Go to the documentation of this file.
1
/// \file
2
/// \addtogroup Spal
3
/// @{
4
///
5
// AUTOGENERATED FILE - DO NOT MODIFY!
6
// This file generated by Djinni from spal.djinni
7
8
#pragma once
9
10
#include <bnb/types/full_image.hpp>
11
#include <bnb/utils/defs.hpp>
12
#include <memory>
13
#include <optional>
14
#include <string>
15
#include <unordered_map>
16
17
namespace
bnb {
namespace
interfaces {
18
19
class
BNB_EXPORT
frames_provider
{
20
public
:
21
virtual
~
frames_provider
() {}
22
23
static
std::shared_ptr<frames_provider> create(
const
std::string & path);
24
25
/** @return `null` if there is no more frames. */
26
virtual
std::optional<::bnb::full_image_t>
next_image
() = 0;
27
28
virtual
std::unordered_map<std::string, std::string> get_device_info()
const
= 0;
29
};
30
31
} }
// namespace bnb::interfaces
32
/// @}
33
bnb::interfaces::frames_provider
Definition:
frames_provider.hpp:19
bnb::interfaces::frames_provider::next_image
virtual std::optional<::bnb::full_image_t > next_image()=0
Generated by
1.8.20