#include <device.h>
Public Member Functions | |
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 |
void | hardware_reset () 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 |
Protected Member Functions | |
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) |
Protected Attributes | |
std::map< int, std::pair< uint32_t, std::shared_ptr< const stream_interface > > > | _extrinsics |
Private Attributes | |
uint64_t | _callback_id |
std::shared_ptr< context > | _context |
std::mutex | _device_changed_mtx |
bool | _device_changed_notifications |
const platform::backend_device_group | _group |
bool | _is_valid |
lazy< std::vector< tagged_profile > > | _profiles_tags |
std::vector< std::shared_ptr< sensor_interface > > | _sensors |
|
virtual |
Definition at line 154 of file device.cpp.
|
explicitprotected |
Definition at line 126 of file device.cpp.
|
protected |
Definition at line 163 of file device.cpp.
|
protected |
Definition at line 169 of file device.cpp.
|
inlineoverridevirtual |
Implements librealsense::device_interface.
Reimplemented in librealsense::rs455_device, librealsense::rs405_device, librealsense::rs435i_device, and librealsense::tm2_device.
|
overridevirtual |
Implements librealsense::device_interface.
Reimplemented in librealsense::rs416_rgb_device, librealsense::rs416_device, and librealsense::rs405u_device.
Definition at line 312 of file device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Reimplemented in librealsense::rs455_device, librealsense::rs405_device, librealsense::rs400_imu_device, librealsense::rs465_device, librealsense::rs435i_device, librealsense::rs430_rgb_mm_device, librealsense::sr300_camera, librealsense::rs435_device, librealsense::rs430_mm_device, librealsense::rs430i_device, librealsense::sr3xx_camera, librealsense::rs430_device, librealsense::rs420_device, librealsense::rs420_mm_device, librealsense::rs416_rgb_device, librealsense::rs416_device, librealsense::rs415_device, librealsense::rs410_device, librealsense::rs500_device, librealsense::l535_device, librealsense::rs405u_device, librealsense::l515_device, librealsense::rs400_device, librealsense::l500_depth, and librealsense::software_device.
Definition at line 227 of file device.cpp.
size_t device::find_sensor_idx | ( | const sensor_interface & | s | ) | const |
Definition at line 199 of file device.cpp.
|
inlineoverridevirtual |
Implements librealsense::device_interface.
|
inlineoverridevirtual |
Implements librealsense::device_interface.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 233 of file device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 187 of file device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 210 of file device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 182 of file device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Reimplemented in librealsense::sr3xx_camera, librealsense::l500_device, librealsense::ds5_device, and librealsense::tm2_device.
Definition at line 222 of file device.cpp.
|
inlineoverridevirtual |
Implements librealsense::device_interface.
|
protected |
Definition at line 263 of file device.cpp.
|
protected |
Definition at line 246 of file device.cpp.
|
virtual |
Definition at line 329 of file device.cpp.
|
overridevirtual |
Implements librealsense::device_interface.
Definition at line 283 of file device.cpp.
|
private |
|
mutableprivate |
|
private |
|
protected |
|
private |
|
private |
|
private |