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

Public Member Functions

 gain_option (tm2_sensor &ep)
 
const char * get_description () const override
 
bool is_enabled () const override
 
float query () const override
 
void set (float value) override
 
- Public Member Functions inherited from librealsense::option_base
virtual void enable_recording (std::function< void(const option &)> recording_action) override
 
option_range get_range () const override
 
bool is_valid (float value) const
 
 option_base (const option_range &opt_range)
 
- 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 bool is_read_only () const
 
virtual ~option ()=default
 
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default
 

Private Attributes

tm2_sensor_ep
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::option_base
const option_range _opt_range
 
std::function< void(const option &)> _recording_function = [](const option&) {}
 

Detailed Description

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

Constructor & Destructor Documentation

librealsense::gain_option::gain_option ( tm2_sensor ep)
inlineexplicit

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

Member Function Documentation

const char* librealsense::gain_option::get_description ( ) const
inlineoverridevirtual

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

void librealsense::gain_option::set ( float  value)
inlineoverridevirtual

Implements librealsense::option.

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

Member Data Documentation

tm2_sensor& librealsense::gain_option::_ep
private

Definition at line 227 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:37