#include <sensor.h>
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 |
|
virtualdefault |
|
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.
|
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.