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 "usb/usb-types.h"
#include "usb/usb-device.h"
#include "hid/hid-types.h"
#include "command_transfer.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>
#include <fstream>
Include dependency graph for backend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 librealsense
 
 librealsense::platform
 

Macros

#define LIBREALSENSE_BACKEND_H
 

Typedefs

typedef std::function< void(backend_device_group old, backend_device_group curr)> librealsense::platform::device_changed_callback
 
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::tuple< uint32_t, uint32_t, uint32_t, uint32_tlibrealsense::platform::stream_profile_tuple
 

Enumerations

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
}
 
enum  librealsense::platform::power_state { librealsense::platform::D0, librealsense::platform::D3 }
 

Functions

std::shared_ptr< backend > librealsense::platform::create_backend ()
 
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;})
 
double librealsense::monotonic_to_realtime (double monotonic)
 
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 playback_device_info &a, const playback_device_info &b)
 
bool librealsense::platform::operator== (const tm2_device_info &a, const tm2_device_info &b)
 

Variables

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

Macro Definition Documentation

#define LIBREALSENSE_BACKEND_H

Definition at line 6 of file backend.h.

Variable Documentation

const uint8_t DEFAULT_V4L2_FRAME_BUFFERS = 4

Definition at line 31 of file backend.h.

const uint16_t DELAY_FOR_RETRIES = 50

Definition at line 32 of file backend.h.

const uint8_t MAX_META_DATA_SIZE = 0xff

Definition at line 34 of file backend.h.

const uint16_t MAX_RETRIES = 100

Definition at line 30 of file backend.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:24