#include <rs.hpp>
Public Member Functions | |
motion_callback (std::function< void(motion_data)> on_event) | |
void | on_event (rs_motion_data e) override |
void | release () override |
Private Attributes | |
std::function< void(motion_data)> | on_event_function |
rs::motion_callback::motion_callback | ( | std::function< void(motion_data)> | on_event | ) | [inline, explicit] |
void rs::motion_callback::on_event | ( | rs_motion_data | e | ) | [inline, override, virtual] |
Implements rs_motion_callback.
void rs::motion_callback::release | ( | ) | [inline, override, virtual] |
Implements rs_motion_callback.
std::function<void(motion_data)> rs::motion_callback::on_event_function [private] |