Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
librealsense::platform::hid_custom_sensor Class Reference

#include <backend-hid.h>

Public Member Functions

 hid_custom_sensor (const std::string &device_path, const std::string &sensor_name)
 
 ~hid_custom_sensor ()
 
std::vector< uint8_t > get_report_data (const std::string &report_name, custom_sensor_report_field report_field)
 
const std::string & get_sensor_name () const
 
void start_capture (hid_callback sensor_callback)
 
void stop_capture ()
 

Constructor & Destructor Documentation

◆ hid_custom_sensor()

librealsense::platform::hid_custom_sensor::hid_custom_sensor ( const std::string &  device_path,
const std::string &  sensor_name 
)

◆ ~hid_custom_sensor()

librealsense::platform::hid_custom_sensor::~hid_custom_sensor ( )

Member Function Documentation

◆ get_report_data()

std::vector<uint8_t> librealsense::platform::hid_custom_sensor::get_report_data ( const std::string &  report_name,
custom_sensor_report_field  report_field 
)

◆ get_sensor_name()

const std::string& librealsense::platform::hid_custom_sensor::get_sensor_name ( ) const
inline

◆ start_capture()

void librealsense::platform::hid_custom_sensor::start_capture ( hid_callback  sensor_callback)

◆ stop_capture()

void librealsense::platform::hid_custom_sensor::stop_capture ( )

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