Public Member Functions | Private Attributes | List of all members
librealsense::software_sensor::depth_extension Class Reference
Inheritance diagram for librealsense::software_sensor::depth_extension:
Inheritance graph

Public Member Functions

void create_snapshot (std::shared_ptr< depth_sensor > &snapshot) const override
 depth_extension (software_sensor *owner)
void enable_recording (std::function< void(const depth_sensor &)> recording_function) override
float get_depth_scale () const 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

Private Attributes


Detailed Description

Definition at line 144 of file software-device.h.

Constructor & Destructor Documentation

librealsense::software_sensor::depth_extension::depth_extension ( software_sensor owner)

Definition at line 147 of file software-device.h.

Member Function Documentation

void librealsense::software_sensor::depth_extension::create_snapshot ( std::shared_ptr< depth_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_sensor >.

Definition at line 153 of file software-device.h.

void librealsense::software_sensor::depth_extension::enable_recording ( std::function< void(const depth_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_sensor >.

Definition at line 154 of file software-device.h.

float librealsense::software_sensor::depth_extension::get_depth_scale ( ) const

Implements librealsense::depth_sensor.

Definition at line 149 of file software-device.h.

Member Data Documentation

software_sensor* librealsense::software_sensor::depth_extension::_owner

Definition at line 156 of file software-device.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:38