Public Member Functions | List of all members
rs_device Struct Referenceabstract

#include <rscore.hpp>

Inheritance diagram for rs_device:
Inheritance graph
[legend]

Public Member Functions

virtual rs_frame_refclone_frame (rs_frame_ref *frame)=0
 
virtual void disable_motion_tracking ()=0
 
virtual void disable_stream (rs_stream stream)=0
 
virtual void enable_motion_tracking ()=0
 
virtual void enable_stream (rs_stream stream, int width, int height, rs_format format, int fps, rs_output_buffer_format output)=0
 
virtual void enable_stream_preset (rs_stream stream, rs_preset preset)=0
 
virtual const char * get_camera_info (rs_camera_info) const =0
 
virtual float get_depth_scale () const =0
 
virtual const char * get_firmware_version () const =0
 
virtual rs_extrinsics get_motion_extrinsics_from (rs_stream from) const =0
 
virtual rs_motion_intrinsics get_motion_intrinsics () const =0
 
virtual const char * get_name () const =0
 
virtual const char * get_option_description (rs_option option) const =0
 
virtual void get_option_range (rs_option option, double &min, double &max, double &step, double &def)=0
 
virtual void get_options (const rs_option options[], size_t count, double values[])=0
 
virtual const char * get_serial () const =0
 
virtual const rs_stream_interfaceget_stream_interface (rs_stream stream) const =0
 
virtual const char * get_usb_port_id () const =0
 
virtual bool is_capturing () const =0
 
virtual int is_motion_tracking_active () const =0
 
virtual bool poll_all_streams ()=0
 
virtual void release_frame (rs_frame_ref *ref)=0
 
virtual void set_motion_callback (void(*on_event)(rs_device *device, rs_motion_data data, void *user), void *user)=0
 
virtual void set_motion_callback (rs_motion_callback *callback)=0
 
virtual void set_options (const rs_option options[], size_t count, const double values[])=0
 
virtual void set_stream_callback (rs_stream stream, void(*on_frame)(rs_device *device, rs_frame_ref *frame, void *user), void *user)=0
 
virtual void set_stream_callback (rs_stream stream, rs_frame_callback *callback)=0
 
virtual void set_timestamp_callback (void(*on_event)(rs_device *device, rs_timestamp_data data, void *user), void *user)=0
 
virtual void set_timestamp_callback (rs_timestamp_callback *callback)=0
 
virtual void start (rs_source source)=0
 
virtual void start_fw_logger (char fw_log_op_code, int grab_rate_in_ms, std::timed_mutex &mutex)=0
 
virtual void stop (rs_source source)=0
 
virtual void stop_fw_logger ()=0
 
virtual bool supports (rs_capabilities capability) const =0
 
virtual bool supports (rs_camera_info info_param) const =0
 
virtual bool supports_option (rs_option option) const =0
 
virtual void wait_all_streams ()=0
 
virtual ~rs_device ()
 

Detailed Description

Definition at line 64 of file rscore.hpp.

Constructor & Destructor Documentation

virtual rs_device::~rs_device ( )
inlinevirtual

Definition at line 66 of file rscore.hpp.

Member Function Documentation

virtual rs_frame_ref* rs_device::clone_frame ( rs_frame_ref frame)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::disable_motion_tracking ( )
pure virtual

Implemented in rs_device_base.

virtual void rs_device::disable_stream ( rs_stream  stream)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::enable_motion_tracking ( )
pure virtual

Implemented in rs_device_base.

virtual void rs_device::enable_stream ( rs_stream  stream,
int  width,
int  height,
rs_format  format,
int  fps,
rs_output_buffer_format  output 
)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::enable_stream_preset ( rs_stream  stream,
rs_preset  preset 
)
pure virtual

Implemented in rs_device_base.

virtual const char* rs_device::get_camera_info ( rs_camera_info  ) const
pure virtual

Implemented in rs_device_base.

virtual float rs_device::get_depth_scale ( ) const
pure virtual

Implemented in rs_device_base.

virtual const char* rs_device::get_firmware_version ( ) const
pure virtual

Implemented in rs_device_base.

virtual rs_extrinsics rs_device::get_motion_extrinsics_from ( rs_stream  from) const
pure virtual

Implemented in rsimpl::zr300_camera, and rs_device_base.

virtual rs_motion_intrinsics rs_device::get_motion_intrinsics ( ) const
pure virtual

Implemented in rsimpl::zr300_camera, and rs_device_base.

virtual const char* rs_device::get_name ( ) const
pure virtual

Implemented in rs_device_base.

virtual const char* rs_device::get_option_description ( rs_option  option) const
pure virtual

Implemented in rs_device_base.

virtual void rs_device::get_option_range ( rs_option  option,
double &  min,
double &  max,
double &  step,
double &  def 
)
pure virtual
virtual void rs_device::get_options ( const rs_option  options[],
size_t  count,
double  values[] 
)
pure virtual
virtual const char* rs_device::get_serial ( ) const
pure virtual

Implemented in rs_device_base.

virtual const rs_stream_interface& rs_device::get_stream_interface ( rs_stream  stream) const
pure virtual

Implemented in rs_device_base.

virtual const char* rs_device::get_usb_port_id ( ) const
pure virtual

Implemented in rs_device_base.

virtual bool rs_device::is_capturing ( ) const
pure virtual

Implemented in rs_device_base.

virtual int rs_device::is_motion_tracking_active ( ) const
pure virtual

Implemented in rs_device_base.

virtual bool rs_device::poll_all_streams ( )
pure virtual

Implemented in rs_device_base.

virtual void rs_device::release_frame ( rs_frame_ref ref)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::set_motion_callback ( void(*)(rs_device *device, rs_motion_data data, void *user)  on_event,
void user 
)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::set_motion_callback ( rs_motion_callback callback)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::set_options ( const rs_option  options[],
size_t  count,
const double  values[] 
)
pure virtual
virtual void rs_device::set_stream_callback ( rs_stream  stream,
void(*)(rs_device *device, rs_frame_ref *frame, void *user)  on_frame,
void user 
)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::set_stream_callback ( rs_stream  stream,
rs_frame_callback callback 
)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::set_timestamp_callback ( void(*)(rs_device *device, rs_timestamp_data data, void *user)  on_event,
void user 
)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::set_timestamp_callback ( rs_timestamp_callback callback)
pure virtual

Implemented in rs_device_base.

virtual void rs_device::start ( rs_source  source)
pure virtual
virtual void rs_device::start_fw_logger ( char  fw_log_op_code,
int  grab_rate_in_ms,
std::timed_mutex &  mutex 
)
pure virtual
virtual void rs_device::stop ( rs_source  source)
pure virtual
virtual void rs_device::stop_fw_logger ( )
pure virtual
virtual bool rs_device::supports ( rs_capabilities  capability) const
pure virtual

Implemented in rs_device_base.

virtual bool rs_device::supports ( rs_camera_info  info_param) const
pure virtual

Implemented in rs_device_base.

virtual bool rs_device::supports_option ( rs_option  option) const
pure virtual
virtual void rs_device::wait_all_streams ( )
pure virtual

Implemented in rs_device_base.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19