Public Member Functions | List of all members
librealsense::sensor_interface Class Referenceabstract

#include <streaming.h>

Inheritance diagram for librealsense::sensor_interface:
Inheritance graph
[legend]

Public Member Functions

virtual void close ()=0
 
virtual stream_profiles get_active_streams () const =0
 
virtual device_interfaceget_device ()=0
 
virtual frame_callback_ptr get_frames_callback () const =0
 
virtual notifications_callback_ptr get_notifications_callback () const =0
 
virtual stream_profiles get_stream_profiles (int tag=profile_tag::PROFILE_TAG_ANY) const =0
 
virtual bool is_streaming () const =0
 
virtual void open (const stream_profiles &requests)=0
 
virtual int register_before_streaming_changes_callback (std::function< void(bool)> callback)=0
 
virtual void register_notifications_callback (notifications_callback_ptr callback)=0
 
virtual void set_frames_callback (frame_callback_ptr cb)=0
 
virtual void start (frame_callback_ptr callback)=0
 
virtual void stop ()=0
 
virtual void unregister_before_start_callback (int token)=0
 
virtual ~sensor_interface ()=default
 
- Public Member Functions inherited from librealsense::info_interface
virtual const std::stringget_info (rs2_camera_info info) const =0
 
virtual bool supports_info (rs2_camera_info info) const =0
 
virtual ~info_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual void create_snapshot (std::shared_ptr< info_interface > &snapshot) const =0
 
virtual void enable_recording (std::function< void(const info_interface &)> recording_function)=0
 
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::options_interface
virtual optionget_option (rs2_option id)=0
 
virtual const optionget_option (rs2_option id) const =0
 
virtual const char * get_option_name (rs2_option) const =0
 
virtual std::vector< rs2_optionget_supported_options () const =0
 
virtual bool supports_option (rs2_option id) const =0
 
virtual ~options_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< options_interface >
virtual void create_snapshot (std::shared_ptr< options_interface > &snapshot) const =0
 
virtual void enable_recording (std::function< void(const options_interface &)> recording_function)=0
 
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::recommended_proccesing_blocks_interface
virtual processing_blocks get_recommended_processing_blocks () const =0
 
virtual ~recommended_proccesing_blocks_interface ()=default
 

Detailed Description

Definition at line 231 of file streaming.h.

Constructor & Destructor Documentation

virtual librealsense::sensor_interface::~sensor_interface ( )
virtualdefault

Member Function Documentation

virtual void librealsense::sensor_interface::close ( )
pure virtual
virtual stream_profiles librealsense::sensor_interface::get_active_streams ( ) const
pure virtual
virtual device_interface& librealsense::sensor_interface::get_device ( )
pure virtual
virtual frame_callback_ptr librealsense::sensor_interface::get_frames_callback ( ) const
pure virtual
virtual notifications_callback_ptr librealsense::sensor_interface::get_notifications_callback ( ) const
pure virtual
virtual stream_profiles librealsense::sensor_interface::get_stream_profiles ( int  tag = profile_tag::PROFILE_TAG_ANY) const
pure virtual
virtual bool librealsense::sensor_interface::is_streaming ( ) const
pure virtual
virtual void librealsense::sensor_interface::open ( const stream_profiles requests)
pure virtual
virtual int librealsense::sensor_interface::register_before_streaming_changes_callback ( std::function< void(bool)>  callback)
pure virtual
virtual void librealsense::sensor_interface::register_notifications_callback ( notifications_callback_ptr  callback)
pure virtual
virtual void librealsense::sensor_interface::set_frames_callback ( frame_callback_ptr  cb)
pure virtual
virtual void librealsense::sensor_interface::start ( frame_callback_ptr  callback)
pure virtual
virtual void librealsense::sensor_interface::stop ( )
pure virtual
virtual void librealsense::sensor_interface::unregister_before_start_callback ( int  token)
pure virtual

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:38