Public Member Functions | Private Attributes | List of all members
librealsense::motion_module_temperature_option Class Reference

#include <ds5-options.h>

Inheritance diagram for librealsense::motion_module_temperature_option:
Inheritance graph
[legend]

Public Member Functions

const char * get_description () const override
 
option_range get_range () const override
 
bool is_enabled () const override
 
 motion_module_temperature_option (hid_sensor &ep)
 
float query () const override
 
- Public Member Functions inherited from librealsense::readonly_option
void enable_recording (std::function< void(const option &)> record_action) override
 
bool is_read_only () const override
 
void set (float) override
 
- Public Member Functions inherited from librealsense::option
virtual void create_snapshot (std::shared_ptr< option > &snapshot) const
 
virtual const char * get_value_description (float) const
 
virtual ~option ()=default
 
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default
 

Private Attributes

hid_sensor_ep
 
const std::string custom_sensor_name = "custom"
 
const std::string report_name = "data-field-custom-value_2"
 

Detailed Description

Definition at line 39 of file ds5-options.h.

Constructor & Destructor Documentation

librealsense::motion_module_temperature_option::motion_module_temperature_option ( hid_sensor ep)
explicit

Definition at line 164 of file ds5-options.cpp.

Member Function Documentation

const char * librealsense::motion_module_temperature_option::get_description ( ) const
overridevirtual

Implements librealsense::option.

Definition at line 159 of file ds5-options.cpp.

option_range librealsense::motion_module_temperature_option::get_range ( ) const
overridevirtual

Implements librealsense::option.

Definition at line 134 of file ds5-options.cpp.

bool librealsense::motion_module_temperature_option::is_enabled ( ) const
overridevirtual

Implements librealsense::option.

Definition at line 154 of file ds5-options.cpp.

float librealsense::motion_module_temperature_option::query ( void  ) const
overridevirtual

Implements librealsense::option.

Definition at line 120 of file ds5-options.cpp.

Member Data Documentation

hid_sensor& librealsense::motion_module_temperature_option::_ep
private

Definition at line 55 of file ds5-options.h.

const std::string librealsense::motion_module_temperature_option::custom_sensor_name = "custom"
private

Definition at line 53 of file ds5-options.h.

const std::string librealsense::motion_module_temperature_option::report_name = "data-field-custom-value_2"
private

Definition at line 54 of file ds5-options.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