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

#include <uvc-streamer.h>

Public Member Functions

void disable_user_callbacks ()
 
void enable_user_callbacks ()
 
const uvc_streamer_context get_context ()
 
bool running ()
 
void start ()
 
void stop ()
 
 uvc_streamer (uvc_streamer_context context)
 
bool wait_for_first_frame (uint32_t timeout_ms)
 
virtual ~uvc_streamer ()
 

Private Member Functions

void flush ()
 
void init ()
 

Private Attributes

dispatcher _action_dispatcher
 
uvc_streamer_context _context
 
bool _frame_arrived = false
 
std::shared_ptr< backend_frames_archive_frames_archive
 
std::shared_ptr< active_object<> > _publish_frame_thread
 
bool _publish_frames = true
 
backend_frames_queue _queue
 
uint32_t _read_buff_length
 
rs_usb_endpoint _read_endpoint
 
std::shared_ptr< platform::usb_request_callback_request_callback
 
std::vector< rs_usb_request_requests
 
bool _running = false
 
std::mutex _running_mutex
 
std::condition_variable _stopped_cv
 
std::shared_ptr< watchdog_watchdog
 
int64_t _watchdog_timeout
 

Detailed Description

Definition at line 31 of file uvc-streamer.h.

Constructor & Destructor Documentation

librealsense::platform::uvc_streamer::uvc_streamer ( uvc_streamer_context  context)

Definition at line 19 of file uvc-streamer.cpp.

librealsense::platform::uvc_streamer::~uvc_streamer ( )
virtual

Definition at line 37 of file uvc-streamer.cpp.

Member Function Documentation

void librealsense::platform::uvc_streamer::disable_user_callbacks ( )
inline

Definition at line 43 of file uvc-streamer.h.

void librealsense::platform::uvc_streamer::enable_user_callbacks ( )
inline

Definition at line 42 of file uvc-streamer.h.

void librealsense::platform::uvc_streamer::flush ( )
private

Definition at line 212 of file uvc-streamer.cpp.

const uvc_streamer_context librealsense::platform::uvc_streamer::get_context ( )
inline

Definition at line 37 of file uvc-streamer.h.

void librealsense::platform::uvc_streamer::init ( )
private

Definition at line 73 of file uvc-streamer.cpp.

bool librealsense::platform::uvc_streamer::running ( )
inline

Definition at line 39 of file uvc-streamer.h.

void librealsense::platform::uvc_streamer::start ( )

Definition at line 151 of file uvc-streamer.cpp.

void librealsense::platform::uvc_streamer::stop ( )

Definition at line 177 of file uvc-streamer.cpp.

bool librealsense::platform::uvc_streamer::wait_for_first_frame ( uint32_t  timeout_ms)

Definition at line 234 of file uvc-streamer.cpp.

Member Data Documentation

dispatcher librealsense::platform::uvc_streamer::_action_dispatcher
private

Definition at line 56 of file uvc-streamer.h.

uvc_streamer_context librealsense::platform::uvc_streamer::_context
private

Definition at line 54 of file uvc-streamer.h.

bool librealsense::platform::uvc_streamer::_frame_arrived = false
private

Definition at line 50 of file uvc-streamer.h.

std::shared_ptr<backend_frames_archive> librealsense::platform::uvc_streamer::_frames_archive
private

Definition at line 63 of file uvc-streamer.h.

std::shared_ptr<active_object<> > librealsense::platform::uvc_streamer::_publish_frame_thread
private

Definition at line 64 of file uvc-streamer.h.

bool librealsense::platform::uvc_streamer::_publish_frames = true
private

Definition at line 51 of file uvc-streamer.h.

backend_frames_queue librealsense::platform::uvc_streamer::_queue
private

Definition at line 60 of file uvc-streamer.h.

uint32_t librealsense::platform::uvc_streamer::_read_buff_length
private

Definition at line 59 of file uvc-streamer.h.

rs_usb_endpoint librealsense::platform::uvc_streamer::_read_endpoint
private

Definition at line 61 of file uvc-streamer.h.

std::shared_ptr<platform::usb_request_callback> librealsense::platform::uvc_streamer::_request_callback
private

Definition at line 65 of file uvc-streamer.h.

std::vector<rs_usb_request> librealsense::platform::uvc_streamer::_requests
private

Definition at line 62 of file uvc-streamer.h.

bool librealsense::platform::uvc_streamer::_running = false
private

Definition at line 49 of file uvc-streamer.h.

std::mutex librealsense::platform::uvc_streamer::_running_mutex
private

Definition at line 47 of file uvc-streamer.h.

std::condition_variable librealsense::platform::uvc_streamer::_stopped_cv
private

Definition at line 48 of file uvc-streamer.h.

std::shared_ptr<watchdog> librealsense::platform::uvc_streamer::_watchdog
private

Definition at line 58 of file uvc-streamer.h.

int64_t librealsense::platform::uvc_streamer::_watchdog_timeout
private

Definition at line 53 of file uvc-streamer.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