Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
Typedefs | |
typedef std::tuple< uint32_t, uint32_t, uint32_t, uint32_t > | stream_profile_tuple |
typedef std::function< void(stream_profile, frame_object, std::function< void()>)> | frame_callback |
typedef std::function< void(const sensor_data &)> | hid_callback |
typedef std::function< void(backend_device_group old, backend_device_group curr)> | device_changed_callback |
typedef std::vector< std::pair< stream_profile, frame_callback > > | configurations |
typedef std::function< void(const uvc_device_info &, IMFActivate *)> | enumeration_callback |
Functions | |
bool | operator== (const stream_profile &a, const stream_profile &b) |
bool | operator== (const uvc_device_info &a, const uvc_device_info &b) |
bool | operator== (const usb_device_info &a, const usb_device_info &b) |
bool | operator== (const hid_device_info &a, const hid_device_info &b) |
bool | operator== (const playback_device_info &a, const playback_device_info &b) |
bool | operator== (const tm2_device_info &a, const tm2_device_info &b) |
std::shared_ptr< backend > | create_backend () |
bool | check (const char *call, HRESULT hr, bool to_throw=true) |
std::string | win_to_utf (const WCHAR *s) |
bool | is_win10_redstone2 () |
std::vector< std::string > | tokenize (std::string string, char separator) |
bool | parse_usb_path (uint16_t &vid, uint16_t &pid, uint16_t &mi, std::string &unique_id, const std::string &path) |
std::string | get_usb_port_id (uint16_t device_vid, uint16_t device_pid, const std::string &device_uid) |
Variables | |
constexpr uint8_t | uvc_header_size = sizeof(uvc_header) |
typedef std::vector<std::pair<stream_profile, frame_callback> > librealsense::platform::configurations |
typedef std::function<void(backend_device_group old, backend_device_group curr)> librealsense::platform::device_changed_callback |
typedef std::function<void(const uvc_device_info&, IMFActivate*)> librealsense::platform::enumeration_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 |
|
strong |
|
strong |
bool librealsense::platform::check | ( | const char * | call, |
HRESULT | hr, | ||
bool | to_throw = true |
||
) |
std::shared_ptr<backend> librealsense::platform::create_backend | ( | ) |
std::string librealsense::platform::get_usb_port_id | ( | uint16_t | device_vid, |
uint16_t | device_pid, | ||
const std::string & | device_uid | ||
) |
bool librealsense::platform::is_win10_redstone2 | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool librealsense::platform::parse_usb_path | ( | uint16_t & | vid, |
uint16_t & | pid, | ||
uint16_t & | mi, | ||
std::string & | unique_id, | ||
const std::string & | path | ||
) |
std::vector<std::string> librealsense::platform::tokenize | ( | std::string | string, |
char | separator | ||
) |
std::string librealsense::platform::win_to_utf | ( | const WCHAR * | s | ) |
constexpr uint8_t librealsense::platform::uvc_header_size = sizeof(uvc_header) |