Public Member Functions | Private Attributes | List of all members
rs::motion_callback Class Reference

#include <rs.hpp>

Inheritance diagram for rs::motion_callback:
Inheritance graph
[legend]

Public Member Functions

 motion_callback (std::function< void(motion_data)> on_event)
 
void on_event (rs_motion_data e) override
 
void release () override
 
- Public Member Functions inherited from rs_motion_callback
virtual ~rs_motion_callback ()
 

Private Attributes

std::function< void(motion_data)> on_event_function
 

Detailed Description

Definition at line 363 of file rs.hpp.

Constructor & Destructor Documentation

rs::motion_callback::motion_callback ( std::function< void(motion_data)>  on_event)
inlineexplicit

Definition at line 367 of file rs.hpp.

Member Function Documentation

void rs::motion_callback::on_event ( rs_motion_data  e)
inlineoverridevirtual

Implements rs_motion_callback.

Definition at line 369 of file rs.hpp.

void rs::motion_callback::release ( )
inlineoverridevirtual

Implements rs_motion_callback.

Definition at line 374 of file rs.hpp.

Member Data Documentation

std::function<void(motion_data)> rs::motion_callback::on_event_function
private

Definition at line 365 of file rs.hpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19