Public Member Functions | Protected Attributes | List of all members
librealsense::protected_xu_option< T > Class Template Reference

#include <option.h>

Inheritance diagram for librealsense::protected_xu_option< T >:
Inheritance graph
[legend]

Public Member Functions

 protected_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description)
 
 protected_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description, const std::map< float, std::string > &description_per_value)
 
float query () const override
 
void set (float value) override
 
- Public Member Functions inherited from librealsense::uvc_xu_option< T >
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
 
 uvc_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description)
 
 uvc_xu_option (uvc_sensor &ep, platform::extension_unit xu, uint8_t id, std::string description, const std::map< float, std::string > &description_per_value)
 
- Public Member Functions inherited from librealsense::option
virtual void create_snapshot (std::shared_ptr< option > &snapshot) const
 
virtual bool is_read_only () const
 
virtual ~option ()=default
 
- Public Member Functions inherited from librealsense::recordable< option >
virtual ~recordable ()=default
 

Protected Attributes

std::mutex _mtx
 
- Protected Attributes inherited from librealsense::uvc_xu_option< T >
std::string _desciption
 
const std::map< float, std::string_description_per_value
 
uvc_sensor_ep
 
uint8_t _id
 
std::function< void(const option &)> _recording_function = [](const option&) {}
 
platform::extension_unit _xu
 

Detailed Description

template<typename T>
class librealsense::protected_xu_option< T >

Definition at line 411 of file option.h.

Constructor & Destructor Documentation

template<typename T >
librealsense::protected_xu_option< T >::protected_xu_option ( uvc_sensor ep,
platform::extension_unit  xu,
uint8_t  id,
std::string  description 
)
inline

Definition at line 414 of file option.h.

template<typename T >
librealsense::protected_xu_option< T >::protected_xu_option ( uvc_sensor ep,
platform::extension_unit  xu,
uint8_t  id,
std::string  description,
const std::map< float, std::string > &  description_per_value 
)
inline

Definition at line 418 of file option.h.

Member Function Documentation

template<typename T >
float librealsense::protected_xu_option< T >::query ( void  ) const
inlineoverridevirtual

Reimplemented from librealsense::uvc_xu_option< T >.

Definition at line 428 of file option.h.

template<typename T >
void librealsense::protected_xu_option< T >::set ( float  value)
inlineoverridevirtual

Reimplemented from librealsense::uvc_xu_option< T >.

Definition at line 422 of file option.h.

Member Data Documentation

template<typename T >
std::mutex librealsense::protected_xu_option< T >::_mtx
mutableprotected

Definition at line 436 of file option.h.


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


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