#include <sensor.h>
Protected Member Functions | |
void | assign_stream (const std::shared_ptr< stream_interface > &stream, std::shared_ptr< stream_profile_interface > target) const |
std::shared_ptr< frame > | generate_frame_from_data (const platform::frame_object &fo, frame_timestamp_reader *timestamp_reader, const rs2_time_t &last_timestamp, const unsigned long long &last_frame_number, std::shared_ptr< stream_profile_interface > profile) |
void | raise_on_before_streaming_changes (bool streaming) |
void | set_active_streams (const stream_profiles &requests) |
Protected Attributes | |
std::shared_ptr< std::map< uint32_t, rs2_format > > | _fourcc_to_rs2_format |
std::shared_ptr< std::map< uint32_t, rs2_stream > > | _fourcc_to_rs2_stream |
std::vector< platform::stream_profile > | _internal_config |
std::atomic< bool > | _is_opened |
std::atomic< bool > | _is_streaming |
std::shared_ptr< metadata_parser_map > | _metadata_parsers = nullptr |
std::shared_ptr< notifications_processor > | _notifications_processor |
on_open | _on_open |
device * | _owner |
frame_source | _source |
sensor_base * | _source_owner = nullptr |
std::vector< platform::stream_profile > | _uvc_profiles |
Protected Attributes inherited from librealsense::options_container | |
std::map< rs2_option, std::shared_ptr< option > > | _options |
std::function< void(const options_interface &)> | _recording_function = [](const options_interface&) {} |
Private Attributes | |
std::mutex | _active_profile_mutex |
stream_profiles | _active_profiles |
lazy< stream_profiles > | _profiles |
signal< sensor_base, bool > | on_before_streaming_changes |
|
explicit |
Definition at line 27 of file sensor.cpp.
|
inlineoverridevirtual |
|
protected |
Definition at line 184 of file sensor.cpp.
rs2_format librealsense::sensor_base::fourcc_to_rs2_format | ( | uint32_t | format | ) | const |
Definition at line 142 of file sensor.cpp.
rs2_stream librealsense::sensor_base::fourcc_to_rs2_stream | ( | uint32_t | fourcc_format | ) | const |
Definition at line 158 of file sensor.cpp.
|
protected |
Definition at line 249 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 60 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 244 of file sensor.cpp.
std::shared_ptr< std::map< uint32_t, rs2_format > > & librealsense::sensor_base::get_fourcc_to_rs2_format_map | ( | ) |
Definition at line 132 of file sensor.cpp.
std::shared_ptr< std::map< uint32_t, rs2_stream > > & librealsense::sensor_base::get_fourcc_to_rs2_stream_map | ( | ) |
Definition at line 137 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Reimplemented in librealsense::synthetic_sensor.
Definition at line 97 of file sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::info_container.
Definition at line 49 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 76 of file sensor.cpp.
|
virtual |
Definition at line 116 of file sensor.cpp.
|
inlineoverridevirtual |
Reimplemented from librealsense::recommended_proccesing_blocks_base.
|
overridevirtual |
Implements librealsense::sensor_interface.
Definition at line 196 of file sensor.cpp.
|
pure virtual |
Implemented in librealsense::sr300_camera::sr300_color_sensor, librealsense::ds5u_depth_sensor, librealsense::ds5_depth_sensor, librealsense::uvc_sensor, librealsense::hid_sensor, librealsense::sr3xx_camera::sr300_depth_sensor, librealsense::platform_camera_sensor, librealsense::synthetic_sensor, librealsense::l500_depth_sensor, librealsense::ds5_fisheye_sensor, librealsense::software_sensor, librealsense::tm2_sensor, librealsense::l500_color_sensor, librealsense::ds5_hid_sensor, librealsense::l500_hid_sensor, and librealsense::ds5_color_sensor.
|
virtual |
Reimplemented in librealsense::synthetic_sensor.
Definition at line 111 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Reimplemented in librealsense::synthetic_sensor.
Definition at line 106 of file sensor.cpp.
|
protected |
Definition at line 174 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Reimplemented in librealsense::synthetic_sensor.
Definition at line 81 of file sensor.cpp.
|
virtual |
Reimplemented in librealsense::synthetic_sensor.
Definition at line 121 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Reimplemented in librealsense::synthetic_sensor.
Definition at line 66 of file sensor.cpp.
|
protected |
Definition at line 178 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Reimplemented in librealsense::synthetic_sensor.
Definition at line 101 of file sensor.cpp.
void librealsense::sensor_base::set_source_owner | ( | sensor_base * | owner | ) |
Definition at line 191 of file sensor.cpp.
|
overridevirtual |
Reimplemented from librealsense::info_container.
Definition at line 55 of file sensor.cpp.
|
overridevirtual |
Implements librealsense::sensor_interface.
Reimplemented in librealsense::synthetic_sensor.
Definition at line 88 of file sensor.cpp.
|
mutableprivate |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
private |