#include <uvc-device.h>
|
virtual void | close (stream_profile profile) override |
|
virtual std::string | get_device_location () const override |
|
virtual power_state | get_power_state () const override |
|
virtual std::vector< stream_profile > | get_profiles () const override |
|
virtual bool | get_pu (rs2_option opt, int32_t &value) const override |
|
virtual control_range | get_pu_range (rs2_option opt) const override |
|
virtual usb_spec | get_usb_specification () const override |
|
virtual bool | get_xu (const extension_unit &xu, uint8_t ctrl, uint8_t *data, int len) const override |
|
virtual control_range | get_xu_range (const extension_unit &xu, uint8_t ctrl, int len) const override |
|
virtual void | init_xu (const extension_unit &xu) override |
|
virtual void | lock () const override |
|
virtual void | probe_and_commit (stream_profile profile, frame_callback callback, int buffers=DEFAULT_V4L2_FRAME_BUFFERS) override |
|
| rs_uvc_device (const rs_usb_device &usb_device, const uvc_device_info &info, uint8_t usb_request_count=2) |
|
virtual void | set_power_state (power_state state) override |
|
virtual bool | set_pu (rs2_option opt, int32_t value) override |
|
virtual bool | set_xu (const extension_unit &xu, uint8_t ctrl, const uint8_t *data, int len) override |
|
virtual void | start_callbacks () override |
|
virtual void | stop_callbacks () override |
|
virtual void | stream_on (std::function< void(const notification &n)> error_handler=[](const notification &n){}) override |
|
virtual void | unlock () const override |
|
virtual | ~rs_uvc_device () |
|
virtual | ~uvc_device ()=default |
|
|
void | check_connection () const |
|
void | close_uvc_device () |
|
std::vector< uvc_format_t > | get_available_formats_all () const |
|
int32_t | get_data_usb (uvc_req_code action, int control, int unit, unsigned int length=sizeof(uint32_t)) const |
|
usb_status | get_stream_ctrl_format_size (uvc_format_t format, const std::shared_ptr< uvc_stream_ctrl_t > &control) |
|
void | listen_to_interrupts () |
|
void | play_profile (stream_profile profile, frame_callback callback) |
|
usb_status | probe_stream_ctrl (const std::shared_ptr< uvc_stream_ctrl_t > &control) |
|
usb_status | query_stream_ctrl (const std::shared_ptr< uvc_stream_ctrl_t > &control, uint8_t probe, int req) |
|
int | rs2_option_to_ctrl_selector (rs2_option option, int &unit) const |
|
int32_t | rs2_value_translate (uvc_req_code action, rs2_option option, int32_t value) const |
|
void | set_data_usb (uvc_req_code action, int control, int unit, int value) const |
|
void | stop_stream_cleanup (const stream_profile &profile, std::vector< profile_and_callback >::iterator &elem) |
|
bool | uvc_get_ctrl (uint8_t unit, uint8_t ctrl, void *data, int len, uvc_req_code req_code) const |
|
bool | uvc_set_ctrl (uint8_t unit, uint8_t ctrl, void *data, int len) |
|
Definition at line 36 of file uvc-device.h.
librealsense::platform::rs_uvc_device::~rs_uvc_device |
( |
| ) |
|
|
virtual |
void librealsense::platform::rs_uvc_device::check_connection |
( |
| ) |
const |
|
private |
void librealsense::platform::rs_uvc_device::close_uvc_device |
( |
| ) |
|
|
private |
std::vector< uvc_format_t > librealsense::platform::rs_uvc_device::get_available_formats_all |
( |
| ) |
const |
|
private |
int32_t librealsense::platform::rs_uvc_device::get_data_usb |
( |
uvc_req_code |
action, |
|
|
int |
control, |
|
|
int |
unit, |
|
|
unsigned int |
length = sizeof(uint32_t) |
|
) |
| const |
|
private |
std::string librealsense::platform::rs_uvc_device::get_device_location |
( |
| ) |
const |
|
overridevirtual |
power_state librealsense::platform::rs_uvc_device::get_power_state |
( |
| ) |
const |
|
overridevirtual |
std::vector< stream_profile > librealsense::platform::rs_uvc_device::get_profiles |
( |
| ) |
const |
|
overridevirtual |
bool librealsense::platform::rs_uvc_device::get_pu |
( |
rs2_option |
opt, |
|
|
int32_t & |
value |
|
) |
| const |
|
overridevirtual |
usb_spec librealsense::platform::rs_uvc_device::get_usb_specification |
( |
| ) |
const |
|
overridevirtual |
void librealsense::platform::rs_uvc_device::listen_to_interrupts |
( |
| ) |
|
|
private |
void librealsense::platform::rs_uvc_device::lock |
( |
| ) |
const |
|
overridevirtual |
int librealsense::platform::rs_uvc_device::rs2_option_to_ctrl_selector |
( |
rs2_option |
option, |
|
|
int & |
unit |
|
) |
| const |
|
private |
void librealsense::platform::rs_uvc_device::set_data_usb |
( |
uvc_req_code |
action, |
|
|
int |
control, |
|
|
int |
unit, |
|
|
int |
value |
|
) |
| const |
|
private |
void librealsense::platform::rs_uvc_device::set_power_state |
( |
power_state |
state | ) |
|
|
overridevirtual |
void librealsense::platform::rs_uvc_device::start_callbacks |
( |
| ) |
|
|
overridevirtual |
void librealsense::platform::rs_uvc_device::stop_callbacks |
( |
| ) |
|
|
overridevirtual |
void librealsense::platform::rs_uvc_device::unlock |
( |
| ) |
const |
|
overridevirtual |
bool librealsense::platform::rs_uvc_device::uvc_set_ctrl |
( |
uint8_t |
unit, |
|
|
uint8_t |
ctrl, |
|
|
void * |
data, |
|
|
int |
len |
|
) |
| |
|
private |
dispatcher librealsense::platform::rs_uvc_device::_action_dispatcher |
|
mutableprivate |
std::vector<frame_callback> librealsense::platform::rs_uvc_device::_frame_callbacks |
|
private |
rs_usb_request librealsense::platform::rs_uvc_device::_interrupt_request |
|
private |
std::string librealsense::platform::rs_uvc_device::_location |
|
private |
std::shared_ptr<uvc_parser> librealsense::platform::rs_uvc_device::_parser |
|
private |
power_state librealsense::platform::rs_uvc_device::_power_state = D3 |
|
private |
std::vector<stream_profile> librealsense::platform::rs_uvc_device::_profiles |
|
private |
std::vector<std::shared_ptr<uvc_streamer> > librealsense::platform::rs_uvc_device::_streamers |
|
private |
rs_usb_device librealsense::platform::rs_uvc_device::_usb_device = nullptr |
|
private |
uint8_t librealsense::platform::rs_uvc_device::_usb_request_count |
|
private |
The documentation for this class was generated from the following files: