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

#include <l500-private.h>

Inheritance diagram for librealsense::ivcam2::hw_sync_option:
Inheritance graph
[legend]

Public Member Functions

virtual void enable_recording (std::function< void(const option &)> record_action) override
 
virtual const char * get_description () const override
 
 hw_sync_option (hw_monitor &hwm, std::shared_ptr< freefall_option > freefall_opt)
 
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

std::shared_ptr< freefall_option_freefall_opt
 
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&) {}
 

Detailed Description

Definition at line 591 of file l500-private.h.

Constructor & Destructor Documentation

librealsense::ivcam2::hw_sync_option::hw_sync_option ( hw_monitor hwm,
std::shared_ptr< freefall_option freefall_opt 
)

Definition at line 180 of file l500-private.cpp.

Member Function Documentation

virtual void librealsense::ivcam2::hw_sync_option::enable_recording ( std::function< void(const option &)>  recording_function)
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 601 of file l500-private.h.

virtual const char* librealsense::ivcam2::hw_sync_option::get_description ( ) const
inlineoverridevirtual

Implements librealsense::option.

Definition at line 597 of file l500-private.h.

void librealsense::ivcam2::hw_sync_option::set ( float  value)
overridevirtual

Implements librealsense::option.

Definition at line 187 of file l500-private.cpp.

Member Data Documentation

std::shared_ptr< freefall_option > librealsense::ivcam2::hw_sync_option::_freefall_opt
private

Definition at line 606 of file l500-private.h.

hw_monitor& librealsense::ivcam2::hw_sync_option::_hwm
private

Definition at line 605 of file l500-private.h.

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

Definition at line 604 of file l500-private.h.


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


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