Public Types | Public Member Functions | List of all members
librealsense::bool_option Class Reference

#include <option.h>

Inheritance diagram for librealsense::bool_option:
Inheritance graph

Public Types

using ptr = std::shared_ptr< bool_option >

Public Member Functions

 bool_option (bool default_on=true)
const char * get_description () const override
bool is_true ()
- Public Member Functions inherited from librealsense::float_option
 float_option (option_range range)
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

Additional Inherited Members

- Protected Attributes inherited from librealsense::float_option
float _value
- 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 273 of file option.h.

Member Typedef Documentation

using librealsense::bool_option::ptr = std::shared_ptr< bool_option >

Definition at line 281 of file option.h.

Constructor & Destructor Documentation

librealsense::bool_option::bool_option ( bool  default_on = true)

Definition at line 276 of file option.h.

Member Function Documentation

const char* librealsense::bool_option::get_description ( ) const

Reimplemented from librealsense::float_option.

Definition at line 279 of file option.h.

bool librealsense::bool_option::is_true ( )

Definition at line 277 of file option.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:37