Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Loading...
Searching...
No Matches
rs2::debug_protocol Class Reference

#include <rs_device.hpp>

Inheritance diagram for rs2::debug_protocol:
rs2::device

Public Member Functions

 debug_protocol (device d)
std::vector< uint8_t > build_command (uint32_t opcode, uint32_t param1=0, uint32_t param2=0, uint32_t param3=0, uint32_t param4=0, std::vector< uint8_t > const &data={}) const
std::vector< uint8_t > send_and_receive_raw_data (const std::vector< uint8_t > &input) const
std::string get_opcode_string (int opcode)
Public Member Functions inherited from rs2::device
std::vector< sensorquery_sensors () const
std::string get_type () const
std::string get_description () const
template<class T>
first () const
bool supports (rs2_camera_info info) const
const char * get_info (rs2_camera_info info) const
void hardware_reset ()
deviceoperator= (const std::shared_ptr< rs2_device > dev)
deviceoperator= (const device &dev)
 device ()
 operator bool () const
const std::shared_ptr< rs2_device > & get () const
bool operator< (device const &other) const
bool is_connected () const
template<class T>
bool is () const
template<class T>
as () const
virtual ~device ()
 operator std::shared_ptr< rs2_device > ()
 device (std::shared_ptr< rs2_device > dev)

Additional Inherited Members

Protected Attributes inherited from rs2::device
std::shared_ptr< rs2_device_dev

Constructor & Destructor Documentation

◆ debug_protocol()

rs2::debug_protocol::debug_protocol ( device d)
inline

Member Function Documentation

◆ build_command()

std::vector< uint8_t > rs2::debug_protocol::build_command ( uint32_t opcode,
uint32_t param1 = 0,
uint32_t param2 = 0,
uint32_t param3 = 0,
uint32_t param4 = 0,
std::vector< uint8_t > const & data = {} ) const
inline

◆ get_opcode_string()

std::string rs2::debug_protocol::get_opcode_string ( int opcode)
inline

◆ send_and_receive_raw_data()

std::vector< uint8_t > rs2::debug_protocol::send_and_receive_raw_data ( const std::vector< uint8_t > & input) const
inline

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