Public Member Functions | Private Types | Private Attributes | List of all members
librealsense::ivcam2::ac_trigger::enabler_option Class Reference

#include <ac-trigger.h>

Inheritance diagram for librealsense::ivcam2::ac_trigger::enabler_option:
Inheritance graph

Public Member Functions

virtual void enable_recording (std::function< void(const option &)> record_action) override
 enabler_option (std::shared_ptr< ac_trigger > const &autocal)
virtual const char * get_description () const override
bool is_auto () const
bool is_manual () const
virtual void set (float value) override
- Public Member Functions inherited from librealsense::float_option
 float_option (option_range 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
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 Types

typedef float_option super

Private Attributes

std::weak_ptr< ac_trigger_autocal
std::function< void(const option &)> _record_action = []( const option& ) {}

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 97 of file ac-trigger.h.

Member Typedef Documentation

Definition at line 99 of file ac-trigger.h.

Constructor & Destructor Documentation

librealsense::ivcam2::ac_trigger::enabler_option::enabler_option ( std::shared_ptr< ac_trigger > const &  autocal)

Definition at line 193 of file ac-trigger.cpp.

Member Function Documentation

virtual void librealsense::ivcam2::ac_trigger::enabler_option::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

Reimplemented from librealsense::option_base.

Definition at line 114 of file ac-trigger.h.

virtual const char* librealsense::ivcam2::ac_trigger::enabler_option::get_description ( ) const

Implements librealsense::option.

Definition at line 110 of file ac-trigger.h.

bool librealsense::ivcam2::ac_trigger::enabler_option::is_auto ( ) const

Definition at line 106 of file ac-trigger.h.

bool librealsense::ivcam2::ac_trigger::enabler_option::is_manual ( ) const

Definition at line 107 of file ac-trigger.h.

void librealsense::ivcam2::ac_trigger::enabler_option::set ( float  value)

Implements librealsense::option.

Definition at line 209 of file ac-trigger.cpp.

Member Data Documentation

std::weak_ptr< ac_trigger > librealsense::ivcam2::ac_trigger::enabler_option::_autocal

Definition at line 101 of file ac-trigger.h.

std::function<void( const option& )> librealsense::ivcam2::ac_trigger::enabler_option::_record_action = []( const option& ) {}

Definition at line 117 of file ac-trigger.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:39