Public Member Functions | Protected Attributes | List of all members
librealsense::l500_depth_sensor_snapshot Class Reference

#include <l500-depth.h>

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

Public Member Functions

void create_snapshot (std::shared_ptr< l500_depth_sensor_interface > &snapshot) const override
 
void enable_recording (std::function< void(const l500_depth_sensor_interface &)> recording_function) override
 
ivcam2::intrinsic_depth get_intrinsic () const override
 
 l500_depth_sensor_snapshot (ivcam2::intrinsic_depth intrinsic, float baseline)
 
float read_baseline () const override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
 ~l500_depth_sensor_snapshot ()
 
- Public Member Functions inherited from librealsense::l500_depth_sensor_interface
virtual ~l500_depth_sensor_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< l500_depth_sensor_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 

Protected Attributes

float _baseline
 
ivcam2::intrinsic_depth _intrinsic
 

Detailed Description

Definition at line 51 of file l500-depth.h.

Constructor & Destructor Documentation

librealsense::l500_depth_sensor_snapshot::l500_depth_sensor_snapshot ( ivcam2::intrinsic_depth  intrinsic,
float  baseline 
)
inline

Definition at line 54 of file l500-depth.h.

librealsense::l500_depth_sensor_snapshot::~l500_depth_sensor_snapshot ( )
inline

Definition at line 83 of file l500-depth.h.

Member Function Documentation

void librealsense::l500_depth_sensor_snapshot::create_snapshot ( std::shared_ptr< l500_depth_sensor_interface > &  snapshot) const
inlineoverridevirtual

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< l500_depth_sensor_interface >.

Definition at line 75 of file l500-depth.h.

void librealsense::l500_depth_sensor_snapshot::enable_recording ( std::function< void(const l500_depth_sensor_interface &)>  recording_function)
inlineoverridevirtual

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

Implements librealsense::recordable< l500_depth_sensor_interface >.

Definition at line 80 of file l500-depth.h.

ivcam2::intrinsic_depth librealsense::l500_depth_sensor_snapshot::get_intrinsic ( ) const
inlineoverridevirtual

Implements librealsense::l500_depth_sensor_interface.

Definition at line 58 of file l500-depth.h.

float librealsense::l500_depth_sensor_snapshot::read_baseline ( ) const
inlineoverridevirtual

Implements librealsense::l500_depth_sensor_interface.

Definition at line 62 of file l500-depth.h.

void librealsense::l500_depth_sensor_snapshot::update ( std::shared_ptr< extension_snapshot ext)
inlineoverridevirtual

Implements librealsense::extension_snapshot.

Definition at line 67 of file l500-depth.h.

Member Data Documentation

float librealsense::l500_depth_sensor_snapshot::_baseline
protected

Definition at line 87 of file l500-depth.h.

ivcam2::intrinsic_depth librealsense::l500_depth_sensor_snapshot::_intrinsic
protected

Definition at line 86 of file l500-depth.h.


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