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

#include <streaming.h>

Inheritance diagram for librealsense::depth_stereo_sensor_snapshot:
Inheritance graph

Public Member Functions

void create_snapshot (std::shared_ptr< depth_stereo_sensor > &snapshot) const override
 depth_stereo_sensor_snapshot (float depth_units, float stereo_bl_mm)
void enable_recording (std::function< void(const depth_stereo_sensor &)> recording_function) override
float get_stereo_baseline_mm () const override
void update (std::shared_ptr< extension_snapshot > ext) override
- Public Member Functions inherited from librealsense::depth_sensor
virtual ~depth_sensor ()=default
- Public Member Functions inherited from librealsense::recordable< depth_sensor >
virtual ~recordable ()=default
- Public Member Functions inherited from librealsense::recordable< depth_stereo_sensor >
virtual ~recordable ()=default
- Public Member Functions inherited from librealsense::depth_sensor_snapshot
void create_snapshot (std::shared_ptr< depth_sensor > &snapshot) const override
 depth_sensor_snapshot (float depth_units)
void enable_recording (std::function< void(const depth_sensor &)> recording_function) override
float get_depth_scale () const override
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default

Private Attributes

float m_stereo_baseline_mm

Additional Inherited Members

- Protected Attributes inherited from librealsense::depth_sensor_snapshot
float m_depth_units

Detailed Description

Definition at line 367 of file streaming.h.

Constructor & Destructor Documentation

librealsense::depth_stereo_sensor_snapshot::depth_stereo_sensor_snapshot ( float  depth_units,
float  stereo_bl_mm 

Definition at line 370 of file streaming.h.

Member Function Documentation

void librealsense::depth_stereo_sensor_snapshot::create_snapshot ( std::shared_ptr< depth_stereo_sensor > &  snapshot) const

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Implements librealsense::recordable< depth_stereo_sensor >.

Definition at line 389 of file streaming.h.

void librealsense::depth_stereo_sensor_snapshot::enable_recording ( std::function< void(const depth_stereo_sensor &)>  recording_function)

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< depth_stereo_sensor >.

Definition at line 394 of file streaming.h.

float librealsense::depth_stereo_sensor_snapshot::get_stereo_baseline_mm ( ) const

Implements librealsense::depth_stereo_sensor.

Definition at line 374 of file streaming.h.

void librealsense::depth_stereo_sensor_snapshot::update ( std::shared_ptr< extension_snapshot ext)

Reimplemented from librealsense::depth_sensor_snapshot.

Definition at line 379 of file streaming.h.

Member Data Documentation

float librealsense::depth_stereo_sensor_snapshot::m_stereo_baseline_mm

Definition at line 400 of file streaming.h.

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

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37