Public Member Functions | List of all members
librealsense::color_sensor_snapshot Class Reference

#include <streaming.h>

Inheritance diagram for librealsense::color_sensor_snapshot:
Inheritance graph

Public Member Functions

 color_sensor_snapshot ()
void create_snapshot (std::shared_ptr< color_sensor > &snapshot) const override
void enable_recording (std::function< void(const color_sensor &)> recording_function) override
void update (std::shared_ptr< extension_snapshot > ext) override
- Public Member Functions inherited from librealsense::color_sensor
virtual ~color_sensor ()=default
- Public Member Functions inherited from librealsense::recordable< color_sensor >
virtual ~recordable ()=default
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default

Detailed Description

Definition at line 301 of file streaming.h.

Constructor & Destructor Documentation

librealsense::color_sensor_snapshot::color_sensor_snapshot ( )

Definition at line 304 of file streaming.h.

Member Function Documentation

void librealsense::color_sensor_snapshot::create_snapshot ( std::shared_ptr< color_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

Reimplemented from librealsense::color_sensor.

Definition at line 310 of file streaming.h.

void librealsense::color_sensor_snapshot::enable_recording ( std::function< void(const color_sensor &)>  recording_function)

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

Reimplemented from librealsense::color_sensor.

Definition at line 314 of file streaming.h.

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

Implements librealsense::extension_snapshot.

Definition at line 306 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