Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <option.h>
Public Member Functions | |
ptr_option (T min, T max, T step, T def, T *value, const std::string &desc) | |
void | set (float value) override |
float | query () const override |
option_range | get_range () const override |
bool | is_enabled () const override |
void | enable_recording (std::function< void(const option &)> record_action) override |
const char * | get_description () const override |
const char * | get_value_description (float val) const override |
void | set_description (float val, const std::string &desc) |
void | on_set (std::function< void(float)> on_set) |
![]() | |
option_base (const option_range &opt_range) | |
bool | is_valid (float value) const |
![]() | |
virtual bool | is_read_only () const |
virtual void | create_snapshot (std::shared_ptr< option > &snapshot) const override |
virtual | ~option ()=default |
![]() | |
virtual | ~recordable ()=default |
Additional Inherited Members | |
![]() | |
const option_range | _opt_range |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
|
inline |
|
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.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Reimplemented from librealsense::option_base.
|
inlineoverridevirtual |
Reimplemented from librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inline |
|
inlineoverridevirtual |
Implements librealsense::option.
|
inlineoverridevirtual |
Implements librealsense::option.
|
inline |