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
[legend]

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

hw_monitor_hwm
 
lazy< option_range_range
 
std::function< void(const option &)> _record_action = [](const option&) {}
 
sensor_base_sensor
 
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 ( )
virtualdefault

Member Function Documentation

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

Implements librealsense::recordable< option >.

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

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

Implements librealsense::option.

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

option_range librealsense::external_sync_mode::get_range ( ) const
overridevirtual

Implements librealsense::option.

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

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

Implements librealsense::option.

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

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

Reimplemented from librealsense::option.

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

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

Implements librealsense::option.

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

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

Implements librealsense::option.

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

Member Data Documentation

hw_monitor& librealsense::external_sync_mode::_hwm
private

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

lazy<option_range> librealsense::external_sync_mode::_range
private

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

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

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

sensor_base* librealsense::external_sync_mode::_sensor
private

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

int librealsense::external_sync_mode::_ver
private

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