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

#include <ds5-options.h>

Inheritance diagram for librealsense::external_sync_mode:
Inheritance graph

Public Member Functions

void enable_recording (std::function< void(const option &)> record_action) override
 external_sync_mode (hw_monitor &hwm, sensor_base *depth_ep=nullptr, int ver=1)
const char * get_description () const override
virtual option_range get_range () const override
virtual bool is_enabled () const override
virtual bool is_read_only () const
virtual float query () const override
virtual void set (float value) override
virtual ~external_sync_mode ()=default
- 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 ~option ()=default
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default

Private Attributes

lazy< option_range_range
std::function< void(const option &)> _record_action = [](const option&) {}
int _ver

Detailed Description

Definition at line 189 of file ds5-options.h.

Constructor & Destructor Documentation

librealsense::external_sync_mode::external_sync_mode ( hw_monitor hwm,
sensor_base depth_ep = nullptr,
int  ver = 1 

Definition at line 376 of file ds5-options.cpp.

virtual librealsense::external_sync_mode::~external_sync_mode ( )

Member Function Documentation

void librealsense::external_sync_mode::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

Implements librealsense::recordable< option >.

Definition at line 204 of file ds5-options.h.

const char * librealsense::external_sync_mode::get_description ( ) const

Implements librealsense::option.

Definition at line 483 of file ds5-options.cpp.

option_range librealsense::external_sync_mode::get_range ( ) const

Implements librealsense::option.

Definition at line 442 of file ds5-options.cpp.

virtual bool librealsense::external_sync_mode::is_enabled ( ) const

Implements librealsense::option.

Definition at line 200 of file ds5-options.h.

virtual bool librealsense::external_sync_mode::is_read_only ( ) const

Reimplemented from librealsense::option.

Definition at line 201 of file ds5-options.h.

float librealsense::external_sync_mode::query ( void  ) const

Implements librealsense::option.

Definition at line 421 of file ds5-options.cpp.

void librealsense::external_sync_mode::set ( float  value)

Implements librealsense::option.

Definition at line 388 of file ds5-options.cpp.

Member Data Documentation

hw_monitor& librealsense::external_sync_mode::_hwm

Definition at line 211 of file ds5-options.h.

lazy<option_range> librealsense::external_sync_mode::_range

Definition at line 210 of file ds5-options.h.

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

Definition at line 209 of file ds5-options.h.

sensor_base* librealsense::external_sync_mode::_sensor

Definition at line 212 of file ds5-options.h.

int librealsense::external_sync_mode::_ver

Definition at line 213 of file ds5-options.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:37