Public Member Functions | Protected Attributes | List of all members
librealsense::platform::uvc_device Class Referenceabstract

#include <backend.h>

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

Public Member Functions

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

Protected Attributes

std::function< void(const notification &n)> _error_handler
 

Detailed Description

Definition at line 346 of file backend.h.

Constructor & Destructor Documentation

virtual librealsense::platform::uvc_device::~uvc_device ( )
virtualdefault

Member Function Documentation

virtual void librealsense::platform::uvc_device::close ( stream_profile  profile)
pure virtual
virtual std::string librealsense::platform::uvc_device::get_device_location ( ) const
pure virtual
virtual power_state librealsense::platform::uvc_device::get_power_state ( ) const
pure virtual
virtual std::vector<stream_profile> librealsense::platform::uvc_device::get_profiles ( ) const
pure virtual
virtual bool librealsense::platform::uvc_device::get_pu ( rs2_option  opt,
int32_t value 
) const
pure virtual
virtual control_range librealsense::platform::uvc_device::get_pu_range ( rs2_option  opt) const
pure virtual
virtual usb_spec librealsense::platform::uvc_device::get_usb_specification ( ) const
pure virtual
virtual bool librealsense::platform::uvc_device::get_xu ( const extension_unit xu,
uint8_t  ctrl,
uint8_t data,
int  len 
) const
pure virtual
virtual control_range librealsense::platform::uvc_device::get_xu_range ( const extension_unit xu,
uint8_t  ctrl,
int  len 
) const
pure virtual
virtual void librealsense::platform::uvc_device::init_xu ( const extension_unit xu)
pure virtual
virtual void librealsense::platform::uvc_device::lock ( ) const
pure virtual
virtual void librealsense::platform::uvc_device::probe_and_commit ( stream_profile  profile,
frame_callback  callback,
int  buffers = DEFAULT_V4L2_FRAME_BUFFERS 
)
pure virtual
virtual void librealsense::platform::uvc_device::set_power_state ( power_state  state)
pure virtual
virtual bool librealsense::platform::uvc_device::set_pu ( rs2_option  opt,
int32_t  value 
)
pure virtual
virtual bool librealsense::platform::uvc_device::set_xu ( const extension_unit xu,
uint8_t  ctrl,
const uint8_t data,
int  len 
)
pure virtual
virtual void librealsense::platform::uvc_device::start_callbacks ( )
pure virtual
virtual void librealsense::platform::uvc_device::stop_callbacks ( )
pure virtual
virtual void librealsense::platform::uvc_device::stream_on ( std::function< void(const notification &n)>  error_handler = [](const notification &n){})
pure virtual
virtual void librealsense::platform::uvc_device::unlock ( ) const
pure virtual

Member Data Documentation

std::function<void(const notification& n)> librealsense::platform::uvc_device::_error_handler
protected

Definition at line 378 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