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

#include <sensor.h>

Inheritance diagram for librealsense::motion_sensor:
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
 
virtual ~motion_sensor ()=default
 
- Public Member Functions inherited from librealsense::recordable< motion_sensor >
virtual ~recordable ()=default
 

Detailed Description

Definition at line 126 of file sensor.h.

Constructor & Destructor Documentation

virtual librealsense::motion_sensor::~motion_sensor ( )
virtualdefault

Member Function Documentation

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

Reimplemented in librealsense::motion_sensor_snapshot.

Definition at line 1629 of file sensor.cpp.

void librealsense::motion_sensor::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

Implements librealsense::recordable< motion_sensor >.

Reimplemented in librealsense::motion_sensor_snapshot.

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