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

#include <rs_sensor.hpp>

Inheritance diagram for rs2::motion_sensor:
Inheritance graph
[legend]

Public Member Functions

 motion_sensor (sensor s)
 
 operator bool () const
 
- Public Member Functions inherited from rs2::sensor
template<class T >
as () const
 
void close () const
 
const std::shared_ptr< rs2_sensor > & get () const
 
std::vector< stream_profileget_active_streams () const
 
const char * get_info (rs2_camera_info info) const
 
std::vector< filterget_recommended_filters () const
 
std::vector< stream_profileget_stream_profiles () const
 
template<class T >
bool is () const
 
void open (const stream_profile &profile) const
 
void open (const std::vector< stream_profile > &profiles) const
 
 operator bool () const
 
 operator std::shared_ptr< rs2_sensor > ()
 
sensoroperator= (const std::shared_ptr< rs2_sensor > other)
 
sensoroperator= (const sensor &other)
 
 sensor ()
 
 sensor (std::shared_ptr< rs2_sensor > dev)
 
template<class T >
void set_notifications_callback (T callback) const
 
template<class T >
void start (T callback) const
 
void stop () const
 
bool supports (rs2_camera_info info) const
 
- Public Member Functions inherited from rs2::options
float get_option (rs2_option option) const
 
const char * get_option_description (rs2_option option) const
 
const char * get_option_name (rs2_option option) const
 
option_range get_option_range (rs2_option option) const
 
const char * get_option_value_description (rs2_option option, float val) const
 
std::vector< rs2_optionget_supported_options ()
 
bool is_option_read_only (rs2_option option) const
 
optionsoperator= (const options &other)
 
 options (const options &other)
 
void set_option (rs2_option option, float value) const
 
bool supports (rs2_option option) const
 
virtual ~options ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::options
template<class T >
optionsoperator= (const T &dev)
 
 options (rs2_options *o=nullptr)
 
- Protected Attributes inherited from rs2::sensor
std::shared_ptr< rs2_sensor_sensor
 
friend context
 
friend device
 
friend device_base
 
friend device_list
 
friend roi_sensor
 

Detailed Description

Definition at line 389 of file rs_sensor.hpp.

Constructor & Destructor Documentation

rs2::motion_sensor::motion_sensor ( sensor  s)
inline

Definition at line 392 of file rs_sensor.hpp.

Member Function Documentation

rs2::motion_sensor::operator bool ( ) const
inline

Definition at line 402 of file rs_sensor.hpp.


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:40