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

#include <option.h>

Inheritance diagram for librealsense::polling_errors_disable:
Inheritance graph

Public Member Functions

void enable_recording (std::function< void(const option &)> record_action) override
const char * get_description () const override
option_range get_range () const override
const char * get_value_description (float value) const override
bool is_enabled () const override
 polling_errors_disable (std::shared_ptr< polling_error_handler > handler)
float query () const override
void set (float value) override
 ~polling_errors_disable ()
- 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

std::weak_ptr< polling_error_handler_polling_error_handler
std::function< void(const option &)> _recording_function = [](const option&) {}
float _value

Detailed Description

Definition at line 507 of file option.h.

Constructor & Destructor Documentation

librealsense::polling_errors_disable::polling_errors_disable ( std::shared_ptr< polling_error_handler handler)

Definition at line 510 of file option.h.

librealsense::polling_errors_disable::~polling_errors_disable ( )

Definition at line 143 of file option.cpp.

Member Function Documentation

void librealsense::polling_errors_disable::enable_recording ( std::function< void(const option &)>  recording_function)

Instruct the derived class to begin notifying on changes Derived class should call the recording_function with a reference of themselves

Implements librealsense::recordable< option >.

Definition at line 528 of file option.h.

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

Implements librealsense::option.

Definition at line 180 of file option.cpp.

librealsense::option_range librealsense::polling_errors_disable::get_range ( ) const

Implements librealsense::option.

Definition at line 170 of file option.cpp.

const char * librealsense::polling_errors_disable::get_value_description ( float  value) const

Reimplemented from librealsense::option.

Definition at line 185 of file option.cpp.

bool librealsense::polling_errors_disable::is_enabled ( ) const

Implements librealsense::option.

Definition at line 175 of file option.cpp.

float librealsense::polling_errors_disable::query ( void  ) const

Implements librealsense::option.

Definition at line 165 of file option.cpp.

void librealsense::polling_errors_disable::set ( float  value)

Implements librealsense::option.

Definition at line 149 of file option.cpp.

Member Data Documentation

std::weak_ptr<polling_error_handler> librealsense::polling_errors_disable::_polling_error_handler

Definition at line 533 of file option.h.

std::function<void(const option&)> librealsense::polling_errors_disable::_recording_function = [](const option&) {}

Definition at line 535 of file option.h.

float librealsense::polling_errors_disable::_value

Definition at line 534 of file option.h.

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

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