Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
backend.h File Reference
#include "../include/librealsense2/h/rs_types.h"
#include "../include/librealsense2/h/rs_option.h"
#include <memory>
#include <functional>
#include <thread>
#include <vector>
#include <algorithm>
#include <set>
#include <iterator>
#include <tuple>
#include <map>
#include <cstring>
#include <string>
#include <sstream>

Go to the source code of this file.

Classes

struct  librealsense::platform::control_range
 
class  librealsense::platform::time_service
 
class  librealsense::platform::os_time_service
 
struct  librealsense::platform::guid
 
struct  librealsense::platform::extension_unit
 
class  librealsense::platform::command_transfer
 
struct  librealsense::platform::stream_profile
 
struct  librealsense::platform::uvc_header
 
struct  librealsense::platform::frame_object
 
struct  librealsense::platform::uvc_device_info
 
struct  librealsense::platform::usb_device_info
 
struct  librealsense::platform::hid_device_info
 
struct  librealsense::platform::playback_device_info
 
struct  librealsense::platform::tm2_device_info
 
struct  librealsense::platform::hid_sensor
 
struct  librealsense::platform::hid_sensor_input
 
struct  librealsense::platform::callback_data
 
struct  librealsense::platform::sensor_data
 
struct  librealsense::platform::hid_profile
 
struct  librealsense::platform::hid_sensor_data
 
class  librealsense::platform::hid_device
 
class  librealsense::platform::uvc_device
 
class  librealsense::platform::retry_controls_work_around
 
class  librealsense::platform::usb_device
 
struct  librealsense::platform::backend_device_group
 
class  librealsense::platform::backend
 
class  librealsense::platform::multi_pins_hid_device
 
class  librealsense::platform::multi_pins_uvc_device
 
class  librealsense::platform::device_watcher
 

Namespaces

 librealsense
 
 librealsense::platform
 

Macros

#define LIBREALSENSE_BACKEND_H
 

Typedefs

typedef std::tuple< uint32_t, uint32_t, uint32_t, uint32_t > librealsense::platform::stream_profile_tuple
 
typedef std::function< void(stream_profile, frame_object, std::function< void()>)> librealsense::platform::frame_callback
 
typedef std::function< void(const sensor_data &)> librealsense::platform::hid_callback
 
typedef std::function< void(backend_device_group old, backend_device_group curr)> librealsense::platform::device_changed_callback
 

Enumerations

enum  librealsense::platform::power_state { librealsense::platform::D0, librealsense::platform::D3 }
 
enum  librealsense::platform::custom_sensor_report_field {
  librealsense::platform::minimum, librealsense::platform::maximum, librealsense::platform::name, librealsense::platform::size,
  librealsense::platform::unit_expo, librealsense::platform::units, librealsense::platform::value
}
 

Functions

template<class T >
bool librealsense::list_changed (const std::vector< T > &list1, const std::vector< T > &list2, std::function< bool(T, T)> equal=[](T first, T second) { return first==second;})
 
bool librealsense::platform::operator== (const stream_profile &a, const stream_profile &b)
 
bool librealsense::platform::operator== (const uvc_device_info &a, const uvc_device_info &b)
 
bool librealsense::platform::operator== (const usb_device_info &a, const usb_device_info &b)
 
bool librealsense::platform::operator== (const hid_device_info &a, const hid_device_info &b)
 
bool librealsense::platform::operator== (const playback_device_info &a, const playback_device_info &b)
 
bool librealsense::platform::operator== (const tm2_device_info &a, const tm2_device_info &b)
 
std::shared_ptr< backend > librealsense::platform::create_backend ()
 
double librealsense::monotonic_to_realtime (double monotonic)
 

Variables

const uint16_t MAX_RETRIES = 100
 
const uint16_t VID_INTEL_CAMERA = 0x8086
 
const uint8_t DEFAULT_V4L2_FRAME_BUFFERS = 4
 
const uint16_t DELAY_FOR_RETRIES = 50
 
const uint8_t MAX_META_DATA_SIZE = 0xff
 
constexpr uint8_t librealsense::platform::uvc_header_size = sizeof(uvc_header)
 

Macro Definition Documentation

◆ LIBREALSENSE_BACKEND_H

#define LIBREALSENSE_BACKEND_H

Variable Documentation

◆ DEFAULT_V4L2_FRAME_BUFFERS

const uint8_t DEFAULT_V4L2_FRAME_BUFFERS = 4

◆ DELAY_FOR_RETRIES

const uint16_t DELAY_FOR_RETRIES = 50

◆ MAX_META_DATA_SIZE

const uint8_t MAX_META_DATA_SIZE = 0xff

◆ MAX_RETRIES

const uint16_t MAX_RETRIES = 100

◆ VID_INTEL_CAMERA

const uint16_t VID_INTEL_CAMERA = 0x8086