gated_option class will permit the user to perform only read (query) of the read_only option when its affecting_option is set More...
#include <option.h>
Public Member Functions | |
gated_option (std::shared_ptr< option > leading_to_read_only, std::vector< std::pair< std::shared_ptr< option >, std::string >> gated_options) | |
void | set (float value) override |
Public Member Functions inherited from librealsense::proxy_option | |
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 val) const override |
bool | is_enabled () const override |
bool | is_read_only () const override |
proxy_option (std::shared_ptr< option > proxy_option) | |
float | query () const override |
Public Member Functions inherited from librealsense::option | |
virtual void | create_snapshot (std::shared_ptr< option > &snapshot) const |
virtual | ~option ()=default |
Public Member Functions inherited from librealsense::recordable< option > | |
virtual | ~recordable ()=default |
Private Attributes | |
std::vector< std::pair< std::weak_ptr< option >, std::string > > | _gated_options |
Additional Inherited Members | |
Protected Attributes inherited from librealsense::proxy_option | |
std::shared_ptr< option > | _proxy |
std::function< void(const option &)> | _recording_function = [](const option&) {} |
gated_option class will permit the user to perform only read (query) of the read_only option when its affecting_option is set
|
inlineexplicit |
|
inlineoverridevirtual |
Reimplemented from librealsense::proxy_option.
|
private |