Public Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::firmware_logger_device Class Reference

#include <firmware_logger_device.h>

Inheritance diagram for librealsense::firmware_logger_device:
Inheritance graph
[legend]

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< matchercreate_matcher (const frame_holder &frame) const override
 
size_t find_sensor_idx (const sensor_interface &s) const
 
std::shared_ptr< contextget_context () const override
 
platform::backend_device_group get_device_data () const override
 
std::pair< uint32_t, rs2_extrinsicsget_extrinsics (const stream_interface &stream) const override
 
sensor_interfaceget_sensor (size_t subdevice) override
 
const sensor_interfaceget_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_profileget_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::stringget_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_formatmap_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
 

Detailed Description

Definition at line 26 of file firmware_logger_device.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void librealsense::firmware_logger_device::assign_hw_monitor ( std::shared_ptr< hw_monitor hardware_monitor)
inline

Definition at line 42 of file firmware_logger_device.h.

bool librealsense::firmware_logger_device::get_flash_log ( fw_logs::fw_logs_binary_data binary_data)
overridevirtual
void librealsense::firmware_logger_device::get_flash_logs_from_hw_monitor ( )
private

Definition at line 67 of file firmware_logger_device.cpp.

bool librealsense::firmware_logger_device::get_fw_log ( fw_logs::fw_logs_binary_data binary_data)
overridevirtual
void librealsense::firmware_logger_device::get_fw_logs_from_hw_monitor ( )
private

Definition at line 46 of file firmware_logger_device.cpp.

unsigned int librealsense::firmware_logger_device::get_number_of_fw_logs ( ) const
overridevirtual
bool librealsense::firmware_logger_device::init_parser ( std::string  xml_content)
overridevirtual
bool librealsense::firmware_logger_device::parse_log ( const fw_logs::fw_logs_binary_data fw_log_msg,
fw_logs::fw_log_data parsed_msg 
)
overridevirtual

Member Data Documentation

uint16_t librealsense::firmware_logger_device::_device_pid
private

Definition at line 61 of file firmware_logger_device.h.

std::queue<fw_logs::fw_logs_binary_data> librealsense::firmware_logger_device::_flash_logs
private

Definition at line 56 of file firmware_logger_device.h.

command librealsense::firmware_logger_device::_flash_logs_command
private

Definition at line 51 of file firmware_logger_device.h.

bool librealsense::firmware_logger_device::_flash_logs_initialized
private

Definition at line 58 of file firmware_logger_device.h.

std::queue<fw_logs::fw_logs_binary_data> librealsense::firmware_logger_device::_fw_logs
private

Definition at line 55 of file firmware_logger_device.h.

command librealsense::firmware_logger_device::_fw_logs_command
private

Definition at line 50 of file firmware_logger_device.h.

std::shared_ptr<hw_monitor> librealsense::firmware_logger_device::_hw_monitor
private

Definition at line 53 of file firmware_logger_device.h.

fw_logs::fw_logs_parser* librealsense::firmware_logger_device::_parser
private

Definition at line 60 of file firmware_logger_device.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37