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

#include <option.h>

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

Public Member Functions

 enable_motion_correction (sensor_base *mm_ep, const option_range &opt_range)
 
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

std::atomic< bool > _is_active
 

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 735 of file option.h.

Constructor & Destructor Documentation

librealsense::enable_motion_correction::enable_motion_correction ( sensor_base mm_ep,
const option_range opt_range 
)

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

Member Function Documentation

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

Implements librealsense::option.

Definition at line 744 of file option.h.

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

Implements librealsense::option.

Definition at line 742 of file option.h.

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

Implements librealsense::option.

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

void librealsense::enable_motion_correction::set ( float  value)
overridevirtual

Implements librealsense::option.

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

Member Data Documentation

std::atomic<bool> librealsense::enable_motion_correction::_is_active
private

Definition at line 752 of file option.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