#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>
Go to the source code of this file.
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_t > | librealsense::platform::stream_profile_tuple |
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) |