#include <firmware_logger_device.h>
Public Member Functions | |
void | assign_hw_monitor (std::shared_ptr< hw_monitor > hardware_monitor) |
firmware_logger_device (std::shared_ptr< context > ctx, const platform::backend_device_group group, std::shared_ptr< hw_monitor > hardware_monitor, const command &fw_logs_command, const command &flash_logs_command) | |
bool | get_flash_log (fw_logs::fw_logs_binary_data &binary_data) override |
bool | get_fw_log (fw_logs::fw_logs_binary_data &binary_data) override |
unsigned int | get_number_of_fw_logs () const override |
bool | init_parser (std::string xml_content) override |
bool | parse_log (const fw_logs::fw_logs_binary_data *fw_log_msg, fw_logs::fw_log_data *parsed_msg) 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 |
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 |
Public Member Functions inherited from librealsense::firmware_logger_extensions | |
virtual | ~firmware_logger_extensions ()=default |
Private Member Functions | |
void | get_flash_logs_from_hw_monitor () |
void | get_fw_logs_from_hw_monitor () |
Private Attributes | |
uint16_t | _device_pid |
std::queue< fw_logs::fw_logs_binary_data > | _flash_logs |
command | _flash_logs_command |
bool | _flash_logs_initialized |
std::queue< fw_logs::fw_logs_binary_data > | _fw_logs |
command | _fw_logs_command |
std::shared_ptr< hw_monitor > | _hw_monitor |
fw_logs::fw_logs_parser * | _parser |
Additional Inherited Members | |
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) |
Protected Attributes inherited from librealsense::device | |
std::map< int, std::pair< uint32_t, std::shared_ptr< const stream_interface > > > | _extrinsics |
Definition at line 26 of file firmware_logger_device.h.
librealsense::firmware_logger_device::firmware_logger_device | ( | std::shared_ptr< context > | ctx, |
const platform::backend_device_group | group, | ||
std::shared_ptr< hw_monitor > | hardware_monitor, | ||
const command & | fw_logs_command, | ||
const command & | flash_logs_command | ||
) |
Definition at line 9 of file firmware_logger_device.cpp.
|
inline |
Definition at line 42 of file firmware_logger_device.h.
|
overridevirtual |
Implements librealsense::firmware_logger_extensions.
Definition at line 96 of file firmware_logger_device.cpp.
|
private |
Definition at line 67 of file firmware_logger_device.cpp.
|
overridevirtual |
Implements librealsense::firmware_logger_extensions.
Definition at line 22 of file firmware_logger_device.cpp.
|
private |
Definition at line 46 of file firmware_logger_device.cpp.
|
overridevirtual |
Implements librealsense::firmware_logger_extensions.
Definition at line 41 of file firmware_logger_device.cpp.
|
overridevirtual |
Implements librealsense::firmware_logger_extensions.
Definition at line 115 of file firmware_logger_device.cpp.
|
overridevirtual |
Implements librealsense::firmware_logger_extensions.
Definition at line 122 of file firmware_logger_device.cpp.
|
private |
Definition at line 61 of file firmware_logger_device.h.
|
private |
Definition at line 56 of file firmware_logger_device.h.
|
private |
Definition at line 51 of file firmware_logger_device.h.
|
private |
Definition at line 58 of file firmware_logger_device.h.
|
private |
Definition at line 55 of file firmware_logger_device.h.
|
private |
Definition at line 50 of file firmware_logger_device.h.
|
private |
Definition at line 53 of file firmware_logger_device.h.
|
private |
Definition at line 60 of file firmware_logger_device.h.