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

#include <sr300.h>

Inheritance diagram for librealsense::sr3xx_camera::preset_option:
Inheritance graph

Public Member Functions

const char * get_description () const override
const char * get_value_description (float val) const override
bool is_enabled () const override
 preset_option (sr3xx_camera &owner, const option_range &opt_range)
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 bool is_read_only () const
virtual ~option ()=default
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default

Private Attributes

float last_value = RS2_SR300_VISUAL_PRESET_DEFAULT

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 207 of file src/ivcam/sr300.h.

Constructor & Destructor Documentation

librealsense::sr3xx_camera::preset_option::preset_option ( sr3xx_camera owner,
const option_range opt_range 

Definition at line 236 of file src/ivcam/sr300.h.

Member Function Documentation

const char* librealsense::sr3xx_camera::preset_option::get_description ( ) const

Implements librealsense::option.

Definition at line 224 of file src/ivcam/sr300.h.

const char* librealsense::sr3xx_camera::preset_option::get_value_description ( float  val) const

Reimplemented from librealsense::option.

Definition at line 229 of file src/ivcam/sr300.h.

bool librealsense::sr3xx_camera::preset_option::is_enabled ( ) const

Implements librealsense::option.

Definition at line 222 of file src/ivcam/sr300.h.

float librealsense::sr3xx_camera::preset_option::query ( void  ) const

Implements librealsense::option.

Definition at line 220 of file src/ivcam/sr300.h.

void librealsense::sr3xx_camera::preset_option::set ( float  value)

Implements librealsense::option.

Definition at line 210 of file src/ivcam/sr300.h.

Member Data Documentation

sr3xx_camera& librealsense::sr3xx_camera::preset_option::_owner

Definition at line 243 of file src/ivcam/sr300.h.

float librealsense::sr3xx_camera::preset_option::last_value = RS2_SR300_VISUAL_PRESET_DEFAULT

Definition at line 242 of file src/ivcam/sr300.h.

The documentation for this class was generated from the following file:

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38