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

#include <backend.h>

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

Public Member Functions

void close (stream_profile profile) override
 
std::string get_device_location () const override
 
power_state get_power_state () const override
 
std::vector< stream_profileget_profiles () const override
 
bool get_pu (rs2_option opt, int32_t &value) const override
 
control_range get_pu_range (rs2_option opt) const override
 
usb_spec get_usb_specification () const override
 
bool get_xu (const extension_unit &xu, uint8_t ctrl, uint8_t *data, int len) const override
 
control_range get_xu_range (const extension_unit &xu, uint8_t ctrl, int len) const override
 
void init_xu (const extension_unit &xu) override
 
void lock () const override
 
 multi_pins_uvc_device (const std::vector< std::shared_ptr< uvc_device >> &dev)
 
void probe_and_commit (stream_profile profile, frame_callback callback, int buffers) override
 
void set_power_state (power_state state) override
 
bool set_pu (rs2_option opt, int32_t value) override
 
bool set_xu (const extension_unit &xu, uint8_t ctrl, const uint8_t *data, int len) override
 
void start_callbacks () override
 
void stop_callbacks () override
 
void stream_on (std::function< void(const notification &n)> error_handler=[](const notification &n){}) override
 
void unlock () const override
 
- Public Member Functions inherited from librealsense::platform::uvc_device
virtual ~uvc_device ()=default
 

Private Member Functions

uint32_t get_dev_index_by_profiles (const stream_profile &profile) const
 

Private Attributes

std::set< uint32_t_configured_indexes
 
std::vector< std::shared_ptr< uvc_device > > _dev
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::platform::uvc_device
std::function< void(const notification &n)> _error_handler
 

Detailed Description

Definition at line 647 of file backend.h.

Constructor & Destructor Documentation

librealsense::platform::multi_pins_uvc_device::multi_pins_uvc_device ( const std::vector< std::shared_ptr< uvc_device >> &  dev)
inlineexplicit

Definition at line 650 of file backend.h.

Member Function Documentation

void librealsense::platform::multi_pins_uvc_device::close ( stream_profile  profile)
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 685 of file backend.h.

uint32_t librealsense::platform::multi_pins_uvc_device::get_dev_index_by_profiles ( const stream_profile profile) const
inlineprivate

Definition at line 791 of file backend.h.

std::string librealsense::platform::multi_pins_uvc_device::get_device_location ( ) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 752 of file backend.h.

power_state librealsense::platform::multi_pins_uvc_device::get_power_state ( ) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 700 of file backend.h.

std::vector<stream_profile> librealsense::platform::multi_pins_uvc_device::get_profiles ( ) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 740 of file backend.h.

bool librealsense::platform::multi_pins_uvc_device::get_pu ( rs2_option  opt,
int32_t value 
) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 725 of file backend.h.

control_range librealsense::platform::multi_pins_uvc_device::get_pu_range ( rs2_option  opt) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 735 of file backend.h.

usb_spec librealsense::platform::multi_pins_uvc_device::get_usb_specification ( ) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 757 of file backend.h.

bool librealsense::platform::multi_pins_uvc_device::get_xu ( const extension_unit xu,
uint8_t  ctrl,
uint8_t data,
int  len 
) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 715 of file backend.h.

control_range librealsense::platform::multi_pins_uvc_device::get_xu_range ( const extension_unit xu,
uint8_t  ctrl,
int  len 
) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 720 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::init_xu ( const extension_unit xu)
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 705 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::lock ( ) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 762 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::probe_and_commit ( stream_profile  profile,
frame_callback  callback,
int  buffers 
)
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 654 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::set_power_state ( power_state  state)
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 692 of file backend.h.

bool librealsense::platform::multi_pins_uvc_device::set_pu ( rs2_option  opt,
int32_t  value 
)
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 730 of file backend.h.

bool librealsense::platform::multi_pins_uvc_device::set_xu ( const extension_unit xu,
uint8_t  ctrl,
const uint8_t data,
int  len 
)
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 710 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::start_callbacks ( )
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 669 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::stop_callbacks ( )
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 677 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::stream_on ( std::function< void(const notification &n)>  error_handler = [](const notificationn){})
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 662 of file backend.h.

void librealsense::platform::multi_pins_uvc_device::unlock ( ) const
inlineoverridevirtual

Implements librealsense::platform::uvc_device.

Definition at line 782 of file backend.h.

Member Data Documentation

std::set<uint32_t> librealsense::platform::multi_pins_uvc_device::_configured_indexes
private

Definition at line 808 of file backend.h.

std::vector<std::shared_ptr<uvc_device> > librealsense::platform::multi_pins_uvc_device::_dev
private

Definition at line 807 of file backend.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:39