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

#include <mf-hid.h>

Inheritance diagram for librealsense::platform::wmf_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 > &iio_profiles) override
 
void register_profiles (const std::vector< hid_profile > &hid_profiles) override
 
void start_capture (hid_callback callback) override
 
void stop_capture () override
 
 wmf_hid_device (const hid_device_info &info, std::shared_ptr< const wmf_backend > backend)
 
- 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(hid_device_info, CComPtr< ISensor >)> action)
 

Private Attributes

std::shared_ptr< const wmf_backend_backend
 
CComPtr< ISensorEvents > _cb
 
std::vector< std::shared_ptr< wmf_hid_sensor > > _connected_sensors
 
std::vector< hid_profile_hid_profiles
 
std::vector< std::shared_ptr< wmf_hid_sensor > > _opened_sensors
 
std::vector< std::shared_ptr< wmf_hid_sensor > > _streaming_sensors
 

Detailed Description

Definition at line 55 of file mf-hid.h.

Constructor & Destructor Documentation

librealsense::platform::wmf_hid_device::wmf_hid_device ( const hid_device_info info,
std::shared_ptr< const wmf_backend backend 
)

Definition at line 98 of file mf-backend.cpp.

Member Function Documentation

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

Implements librealsense::platform::hid_device.

Definition at line 319 of file mf-hid.cpp.

void librealsense::platform::wmf_hid_device::foreach_hid_device ( std::function< void(hid_device_info, CComPtr< ISensor >)>  action)
static

Definition at line 365 of file mf-hid.cpp.

std::vector< uint8_t > librealsense::platform::wmf_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 360 of file mf-hid.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 350 of file mf-hid.cpp.

void librealsense::platform::wmf_hid_device::open ( const std::vector< hid_profile > &  iio_profiles)
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 271 of file mf-hid.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 61 of file mf-hid.h.

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

Implements librealsense::platform::hid_device.

Definition at line 328 of file mf-hid.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 341 of file mf-hid.cpp.

Member Data Documentation

std::shared_ptr<const wmf_backend> librealsense::platform::wmf_hid_device::_backend
private

Definition at line 71 of file mf-hid.h.

CComPtr<ISensorEvents> librealsense::platform::wmf_hid_device::_cb
private

Definition at line 77 of file mf-hid.h.

std::vector<std::shared_ptr<wmf_hid_sensor> > librealsense::platform::wmf_hid_device::_connected_sensors
private

Definition at line 73 of file mf-hid.h.

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

Definition at line 78 of file mf-hid.h.

std::vector<std::shared_ptr<wmf_hid_sensor> > librealsense::platform::wmf_hid_device::_opened_sensors
private

Definition at line 74 of file mf-hid.h.

std::vector<std::shared_ptr<wmf_hid_sensor> > librealsense::platform::wmf_hid_device::_streaming_sensors
private

Definition at line 75 of file mf-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