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

#include <streaming.h>

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

Public Member Functions

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

Detailed Description

Definition at line 290 of file streaming.h.

Constructor & Destructor Documentation

virtual librealsense::color_sensor::~color_sensor ( )
virtualdefault

Member Function Documentation

void librealsense::color_sensor::create_snapshot ( std::shared_ptr< color_sensor > &  snapshot) const
overridevirtual

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

Reimplemented in librealsense::color_sensor_snapshot.

Definition at line 842 of file types.cpp.

void librealsense::color_sensor::enable_recording ( std::function< void(const color_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< color_sensor >.

Reimplemented in librealsense::color_sensor_snapshot.

Definition at line 296 of file streaming.h.


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


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