#include <l500-private.h>
Public Member Functions | |
virtual void | enable (bool=true) |
virtual void | enable_recording (std::function< void(const option &)> record_action) override |
freefall_option (hw_monitor &hwm, bool enabled=true) | |
virtual const char * | get_description () const override |
bool | is_enabled () const override |
virtual void | set (float value) override |
Public Member Functions inherited from librealsense::bool_option | |
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 | |
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 | |
bool | _enabled |
hw_monitor & | _hwm |
std::function< void(const option &)> | _record_action = []( const option& ) {} |
Additional Inherited Members | |
Public Types inherited from librealsense::bool_option | |
using | ptr = std::shared_ptr< bool_option > |
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&) {} |
Definition at line 566 of file l500-private.h.
librealsense::ivcam2::freefall_option::freefall_option | ( | hw_monitor & | hwm, |
bool | enabled = true |
||
) |
Definition at line 153 of file l500-private.cpp.
|
virtual |
Definition at line 170 of file l500-private.cpp.
|
inlineoverridevirtual |
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 579 of file l500-private.h.
|
inlineoverridevirtual |
Implements librealsense::option.
Definition at line 575 of file l500-private.h.
|
inlineoverridevirtual |
Implements librealsense::option.
Definition at line 571 of file l500-private.h.
|
overridevirtual |
Implements librealsense::option.
Definition at line 161 of file l500-private.cpp.
|
private |
Definition at line 584 of file l500-private.h.
|
private |
Definition at line 583 of file l500-private.h.
|
private |
Definition at line 582 of file l500-private.h.