Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
librealsense::platform::v4l_hid_device Class Reference

#include <backend-hid.h>

Inheritance diagram for librealsense::platform::v4l_hid_device:
Inheritance graph
[legend]

Public Member Functions

void close () override
 
std::vector< uint8_tget_custom_report_data (const std::string &custom_sensor_name, const std::string &report_name, custom_sensor_report_field report_field) override
 
std::vector< hid_sensorget_sensors () override
 
void open (const std::vector< hid_profile > &hid_profiles) override
 
void register_profiles (const std::vector< hid_profile > &hid_profiles) override
 
void start_capture (hid_callback callback) override
 
void stop_capture () override
 
 v4l_hid_device (const hid_device_info &info)
 
 ~v4l_hid_device ()
 
- Public Member Functions inherited from librealsense::platform::hid_device
virtual ~hid_device ()=default
 

Static Public Member Functions

static void foreach_hid_device (std::function< void(const hid_device_info &)> action)
 

Static Private Member Functions

static bool get_hid_device_info (const char *dev_path, hid_device_info &device_info)
 

Private Attributes

std::vector< std::unique_ptr< hid_custom_sensor > > _hid_custom_sensors
 
std::vector< hid_device_info_hid_device_infos
 
std::vector< hid_profile_hid_profiles
 
std::vector< std::unique_ptr< iio_hid_sensor > > _iio_hid_sensors
 
std::vector< hid_custom_sensor * > _streaming_custom_sensors
 
std::vector< iio_hid_sensor * > _streaming_iio_sensors
 

Static Private Attributes

static constexpr const char * custom_id {"custom"}
 

Detailed Description

Definition at line 189 of file backend-hid.h.

Constructor & Destructor Documentation

librealsense::platform::v4l_hid_device::v4l_hid_device ( const hid_device_info info)

Definition at line 936 of file backend-hid.cpp.

librealsense::platform::v4l_hid_device::~v4l_hid_device ( )

Definition at line 951 of file backend-hid.cpp.

Member Function Documentation

void librealsense::platform::v4l_hid_device::close ( )
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1009 of file backend-hid.cpp.

void librealsense::platform::v4l_hid_device::foreach_hid_device ( std::function< void(const hid_device_info &)>  action)
static

Definition at line 1138 of file backend-hid.cpp.

std::vector< uint8_t > librealsense::platform::v4l_hid_device::get_custom_report_data ( const std::string custom_sensor_name,
const std::string report_name,
custom_sensor_report_field  report_field 
)
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1122 of file backend-hid.cpp.

bool librealsense::platform::v4l_hid_device::get_hid_device_info ( const char *  dev_path,
hid_device_info device_info 
)
staticprivate

Definition at line 1212 of file backend-hid.cpp.

std::vector< hid_sensor > librealsense::platform::v4l_hid_device::get_sensors ( )
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1024 of file backend-hid.cpp.

void librealsense::platform::v4l_hid_device::open ( const std::vector< hid_profile > &  hid_profiles)
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 964 of file backend-hid.cpp.

void librealsense::platform::v4l_hid_device::register_profiles ( const std::vector< hid_profile > &  hid_profiles)
inlineoverridevirtual

Implements librealsense::platform::hid_device.

Definition at line 196 of file backend-hid.h.

void librealsense::platform::v4l_hid_device::start_capture ( hid_callback  callback)
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1039 of file backend-hid.cpp.

void librealsense::platform::v4l_hid_device::stop_capture ( )
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1105 of file backend-hid.cpp.

Member Data Documentation

std::vector<std::unique_ptr<hid_custom_sensor> > librealsense::platform::v4l_hid_device::_hid_custom_sensors
private

Definition at line 220 of file backend-hid.h.

std::vector<hid_device_info> librealsense::platform::v4l_hid_device::_hid_device_infos
private

Definition at line 218 of file backend-hid.h.

std::vector<hid_profile> librealsense::platform::v4l_hid_device::_hid_profiles
private

Definition at line 217 of file backend-hid.h.

std::vector<std::unique_ptr<iio_hid_sensor> > librealsense::platform::v4l_hid_device::_iio_hid_sensors
private

Definition at line 219 of file backend-hid.h.

std::vector<hid_custom_sensor*> librealsense::platform::v4l_hid_device::_streaming_custom_sensors
private

Definition at line 222 of file backend-hid.h.

std::vector<iio_hid_sensor*> librealsense::platform::v4l_hid_device::_streaming_iio_sensors
private

Definition at line 221 of file backend-hid.h.

constexpr const char* librealsense::platform::v4l_hid_device::custom_id {"custom"}
staticprivate

Definition at line 223 of file backend-hid.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:39