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

#include <sensor.h>

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

Public Member Functions

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

Detailed Description

Definition at line 137 of file sensor.h.

Constructor & Destructor Documentation

librealsense::motion_sensor_snapshot::motion_sensor_snapshot ( )
inline

Definition at line 140 of file sensor.h.

Member Function Documentation

void librealsense::motion_sensor_snapshot::create_snapshot ( std::shared_ptr< motion_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

Reimplemented from librealsense::motion_sensor.

Definition at line 146 of file sensor.h.

void librealsense::motion_sensor_snapshot::enable_recording ( std::function< void(const motion_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

Reimplemented from librealsense::motion_sensor.

Definition at line 151 of file sensor.h.

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

Implements librealsense::extension_snapshot.

Definition at line 142 of file sensor.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