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

#include <recorder.h>

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

Public Member Functions

void callback_thread ()
 
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
 
 playback_hid_device (std::shared_ptr< recording > rec, int id)
 
void register_profiles (const std::vector< hid_profile > &hid_profiles) override
 
void start_capture (hid_callback callback) override
 
void stop_capture () override
 
 ~playback_hid_device ()
 
- Public Member Functions inherited from librealsense::platform::hid_device
virtual ~hid_device ()=default
 

Private Attributes

std::atomic< bool > _alive
 
platform::hid_callback _callback
 
std::mutex _callback_mutex
 
std::thread _callback_thread
 
int _entity_id
 
std::shared_ptr< recording_rec
 

Detailed Description

Definition at line 563 of file recorder.h.

Constructor & Destructor Documentation

librealsense::platform::playback_hid_device::~playback_hid_device ( )

Definition at line 1495 of file recorder.cpp.

librealsense::platform::playback_hid_device::playback_hid_device ( std::shared_ptr< recording rec,
int  id 
)
explicit

Definition at line 1500 of file recorder.cpp.

Member Function Documentation

void librealsense::platform::playback_hid_device::callback_thread ( )

Definition at line 1469 of file recorder.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 1419 of file recorder.cpp.

std::vector< uint8_t > librealsense::platform::playback_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 1455 of file recorder.cpp.

vector< hid_sensor > librealsense::platform::playback_hid_device::get_sensors ( )
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1450 of file recorder.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 1412 of file recorder.cpp.

void librealsense::platform::playback_hid_device::register_profiles ( const std::vector< hid_profile > &  hid_profiles)
overridevirtual

Implements librealsense::platform::hid_device.

Definition at line 1405 of file recorder.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 1440 of file recorder.cpp.

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

Implements librealsense::platform::hid_device.

Definition at line 1431 of file recorder.cpp.

Member Data Documentation

std::atomic<bool> librealsense::platform::playback_hid_device::_alive
private

Definition at line 586 of file recorder.h.

platform::hid_callback librealsense::platform::playback_hid_device::_callback
private

Definition at line 583 of file recorder.h.

std::mutex librealsense::platform::playback_hid_device::_callback_mutex
private

Definition at line 582 of file recorder.h.

std::thread librealsense::platform::playback_hid_device::_callback_thread
private

Definition at line 585 of file recorder.h.

int librealsense::platform::playback_hid_device::_entity_id
private

Definition at line 584 of file recorder.h.

std::shared_ptr<recording> librealsense::platform::playback_hid_device::_rec
private

Definition at line 581 of file recorder.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