Public Member Functions | Private Attributes | List of all members
librealsense::temperature_option Class Reference
Inheritance diagram for librealsense::temperature_option:
Inheritance graph
[legend]

Public Member Functions

option_range get_range () const override
 
bool is_enabled () const override
 
float query () const override
 
 temperature_option (tm2_sensor &ep, temperature_type type)
 
- 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_description () const =0
 
virtual const char * get_value_description (float) const
 
virtual ~option ()=default
 
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default
 

Private Attributes

tm2_sensor_ep
 
option_range _range
 
temperature_type _type
 

Detailed Description

Definition at line 152 of file tm-device.cpp.

Constructor & Destructor Documentation

librealsense::temperature_option::temperature_option ( tm2_sensor ep,
temperature_type  type 
)
inlineexplicit

Definition at line 161 of file tm-device.cpp.

Member Function Documentation

option_range librealsense::temperature_option::get_range ( ) const
inlineoverridevirtual

Implements librealsense::option.

Definition at line 157 of file tm-device.cpp.

bool librealsense::temperature_option::is_enabled ( ) const
inlineoverridevirtual

Implements librealsense::option.

Definition at line 159 of file tm-device.cpp.

float librealsense::temperature_option::query ( void  ) const
inlineoverridevirtual

Implements librealsense::option.

Definition at line 155 of file tm-device.cpp.

Member Data Documentation

tm2_sensor& librealsense::temperature_option::_ep
private

Definition at line 165 of file tm-device.cpp.

option_range librealsense::temperature_option::_range
private

Definition at line 167 of file tm-device.cpp.

temperature_type librealsense::temperature_option::_type
private

Definition at line 166 of file tm-device.cpp.


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