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

#include <streaming.h>

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

Public Member Functions

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
 
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::extension_snapshot
virtual ~extension_snapshot ()=default
 

Protected Attributes

float m_depth_units
 

Detailed Description

Definition at line 330 of file streaming.h.

Constructor & Destructor Documentation

librealsense::depth_sensor_snapshot::depth_sensor_snapshot ( float  depth_units)
inline

Definition at line 333 of file streaming.h.

Member Function Documentation

void librealsense::depth_sensor_snapshot::create_snapshot ( std::shared_ptr< depth_sensor > &  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< depth_sensor >.

Definition at line 346 of file streaming.h.

void librealsense::depth_sensor_snapshot::enable_recording ( std::function< void(const depth_sensor &)>  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< depth_sensor >.

Definition at line 350 of file streaming.h.

float librealsense::depth_sensor_snapshot::get_depth_scale ( ) const
inlineoverridevirtual

Implements librealsense::depth_sensor.

Definition at line 334 of file streaming.h.

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

Implements librealsense::extension_snapshot.

Reimplemented in librealsense::depth_stereo_sensor_snapshot.

Definition at line 339 of file streaming.h.

Member Data Documentation

float librealsense::depth_sensor_snapshot::m_depth_units
protected

Definition at line 356 of file streaming.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