#include <ds5-device.h>
Public Member Functions | |
std::vector< uint8_t > | backup_flash (update_progress_callback_ptr callback) override |
std::shared_ptr< synthetic_sensor > | create_depth_device (std::shared_ptr< context > ctx, const std::vector< platform::uvc_device_info > &all_device_infos) |
void | create_snapshot (std::shared_ptr< debug_interface > &snapshot) const override |
ds5_device (std::shared_ptr< context > ctx, const platform::backend_device_group &group) | |
void | enable_recording (std::function< void(const debug_interface &)> record_action) override |
void | enter_update_state () const override |
synthetic_sensor & | get_depth_sensor () |
virtual double | get_device_time_ms () override |
uvc_sensor & | get_raw_depth_sensor () |
platform::usb_spec | get_usb_spec () const |
void | hardware_reset () override |
std::vector< uint8_t > | send_receive_raw_data (const std::vector< uint8_t > &input) override |
void | update_flash (const std::vector< uint8_t > &image, update_progress_callback_ptr callback, int update_mode) override |
Public Member Functions inherited from librealsense::device | |
virtual bool | compress_while_record () const override |
virtual bool | contradicts (const stream_profile_interface *a, const std::vector< stream_profile > &others) const override |
virtual std::shared_ptr< matcher > | create_matcher (const frame_holder &frame) const override |
size_t | find_sensor_idx (const sensor_interface &s) const |
std::shared_ptr< context > | get_context () const override |
platform::backend_device_group | get_device_data () const override |
std::pair< uint32_t, rs2_extrinsics > | get_extrinsics (const stream_interface &stream) const override |
sensor_interface & | get_sensor (size_t subdevice) override |
const sensor_interface & | get_sensor (size_t subdevice) const override |
size_t | get_sensors_count () const override |
bool | is_valid () const override |
virtual void | stop_activity () const |
void | tag_profiles (stream_profiles profiles) const override |
virtual | ~device () |
Public Member Functions inherited from librealsense::device_interface | |
virtual std::vector< tagged_profile > | get_profiles_tags () const =0 |
virtual | ~device_interface ()=default |
Public Member Functions inherited from librealsense::info_interface | |
virtual | ~info_interface ()=default |
Public Member Functions inherited from librealsense::recordable< info_interface > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::info_container | |
void | create_snapshot (std::shared_ptr< info_interface > &snapshot) const override |
void | enable_recording (std::function< void(const info_interface &)> record_action) override |
const std::string & | get_info (rs2_camera_info info) const override |
void | register_info (rs2_camera_info info, const std::string &val) |
bool | supports_info (rs2_camera_info info) const override |
void | update (std::shared_ptr< extension_snapshot > ext) override |
void | update_info (rs2_camera_info info, const std::string &val) |
Public Member Functions inherited from librealsense::extension_snapshot | |
virtual | ~extension_snapshot ()=default |
Public Member Functions inherited from librealsense::recordable< debug_interface > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::global_time_interface | |
virtual void | create_snapshot (std::shared_ptr< global_time_interface > &snapshot) const override |
virtual void | enable_recording (std::function< void(const global_time_interface &)> record_action) override |
void | enable_time_diff_keeper (bool is_enable) |
global_time_interface () | |
~global_time_interface () | |
Public Member Functions inherited from librealsense::recordable< global_time_interface > | |
virtual | ~recordable ()=default |
Public Member Functions inherited from librealsense::auto_calibrated | |
auto_calibrated (std::shared_ptr< hw_monitor > &hwm) | |
std::vector< uint8_t > | get_calibration_table () const override |
void | reset_to_factory_calibration () const override |
std::vector< uint8_t > | run_on_chip_calibration (int timeout_ms, std::string json, float *health, update_progress_callback_ptr progress_callback) override |
std::vector< uint8_t > | run_tare_calibration (int timeout_ms, float ground_truth_mm, std::string json, update_progress_callback_ptr progress_callback) override |
void | set_calibration_table (const std::vector< uint8_t > &calibration) override |
void | write_calibration () const override |
Protected Member Functions | |
command | get_firmware_logs_command () const |
command | get_flash_logs_command () const |
std::vector< uint8_t > | get_new_calibration_table () const |
std::vector< uint8_t > | get_raw_calibration_table (ds::calibration_table_id table_id) const |
float | get_stereo_baseline_mm () const |
void | init (std::shared_ptr< context > ctx, const platform::backend_device_group &group) |
bool | is_camera_in_advanced_mode () const |
ds::d400_caps | parse_device_capabilities () const |
Protected Member Functions inherited from librealsense::device | |
int | add_sensor (const std::shared_ptr< sensor_interface > &sensor_base) |
int | assign_sensor (const std::shared_ptr< sensor_interface > &sensor_base, uint8_t idx) |
device (std::shared_ptr< context > ctx, const platform::backend_device_group group, bool device_changed_notifications=false) | |
std::vector< rs2_format > | map_supported_color_formats (rs2_format source_format) |
void | register_stream_to_extrinsic_group (const stream_interface &stream, uint32_t groupd_index) |
Friends | |
class | ds5_depth_sensor |
Definition at line 35 of file ds5-device.h.
librealsense::ds5_device::ds5_device | ( | std::shared_ptr< context > | ctx, |
const platform::backend_device_group & | group | ||
) |
Definition at line 640 of file ds5-device.cpp.
|
overridevirtual |
Implements librealsense::updatable.
Definition at line 163 of file ds5-device.cpp.
std::shared_ptr< synthetic_sensor > librealsense::ds5_device::create_depth_device | ( | std::shared_ptr< context > | ctx, |
const std::vector< platform::uvc_device_info > & | all_device_infos | ||
) |
Definition at line 606 of file ds5-device.cpp.
|
overridevirtual |
Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call
Implements librealsense::recordable< debug_interface >.
Definition at line 1102 of file ds5-device.cpp.
|
overridevirtual |
Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves
Implements librealsense::recordable< debug_interface >.
Definition at line 1106 of file ds5-device.cpp.
|
overridevirtual |
Implements librealsense::updatable.
Definition at line 133 of file ds5-device.cpp.
|
inline |
Definition at line 41 of file ds5-device.h.
|
overridevirtual |
Implements librealsense::global_time_interface.
Definition at line 1125 of file ds5-device.cpp.
|
protected |
Definition at line 1155 of file ds5-device.cpp.
|
protected |
Definition at line 1160 of file ds5-device.cpp.
|
protected |
Definition at line 560 of file ds5-device.cpp.
|
protected |
Definition at line 554 of file ds5-device.cpp.
|
inline |
Definition at line 46 of file ds5-device.h.
|
protected |
Definition at line 547 of file ds5-device.cpp.
platform::usb_spec librealsense::ds5_device::get_usb_spec | ( | ) | const |
Definition at line 1111 of file ds5-device.cpp.
|
overridevirtual |
Reimplemented from librealsense::device.
Definition at line 127 of file ds5-device.cpp.
|
protected |
Definition at line 654 of file ds5-device.cpp.
|
protected |
Definition at line 536 of file ds5-device.cpp.
|
protected |
Definition at line 570 of file ds5-device.cpp.
|
overridevirtual |
Implements librealsense::debug_interface.
Definition at line 122 of file ds5-device.cpp.
|
overridevirtual |
Implements librealsense::updatable.
Definition at line 287 of file ds5-device.cpp.
|
friend |
Definition at line 85 of file ds5-device.h.
Definition at line 100 of file ds5-device.h.
Definition at line 106 of file ds5-device.h.
|
protected |
Definition at line 107 of file ds5-device.h.
|
protected |
Definition at line 95 of file ds5-device.h.
|
protected |
Definition at line 97 of file ds5-device.h.
|
protected |
Definition at line 92 of file ds5-device.h.
|
protected |
Definition at line 90 of file ds5-device.h.
|
protected |
Definition at line 88 of file ds5-device.h.
|
protected |
Definition at line 87 of file ds5-device.h.
|
protected |
Definition at line 108 of file ds5-device.h.
|
protected |
Definition at line 93 of file ds5-device.h.
|
protected |
Definition at line 105 of file ds5-device.h.
Definition at line 101 of file ds5-device.h.
|
protected |
Definition at line 98 of file ds5-device.h.
|
protected |
Definition at line 103 of file ds5-device.h.
|
protected |
Definition at line 89 of file ds5-device.h.
|
protected |
Definition at line 94 of file ds5-device.h.
|
protected |
Definition at line 104 of file ds5-device.h.