Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | List of all members
librealsense::options_container Class Reference

#include <options.h>

Inheritance diagram for librealsense::options_container:
librealsense::options_interface librealsense::extension_snapshot librealsense::recordable< options_interface > librealsense::playback_sensor librealsense::processing_block librealsense::record_sensor librealsense::sensor_base librealsense::align librealsense::colorizer librealsense::decimation_filter librealsense::disparity_transform librealsense::hole_filling_filter librealsense::pipeline_processing_block librealsense::pointcloud librealsense::spatial_filter librealsense::syncer_process_unit librealsense::temporal_filter librealsense::hid_sensor librealsense::software_sensor librealsense::tm2_sensor librealsense::uvc_sensor

Public Member Functions

bool supports_option (rs2_option id) const override
 
optionget_option (rs2_option id) override
 
const optionget_option (rs2_option id) const override
 
void register_option (rs2_option id, std::shared_ptr< option > option)
 
void unregister_option (rs2_option id)
 
void create_snapshot (std::shared_ptr< options_interface > &snapshot) const override
 
void enable_recording (std::function< void(const options_interface &)> record_action) override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
- Public Member Functions inherited from librealsense::options_interface
virtual ~options_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< options_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 

Member Function Documentation

§ create_snapshot()

void librealsense::options_container::create_snapshot ( std::shared_ptr< options_interface > &  snapshot) const
inlineoverridevirtual

Create a snapshot of the deriving extension. A snapshot of T is a reflection of the state and memory of T at the time of the call

Implements librealsense::recordable< options_interface >.

§ enable_recording()

void librealsense::options_container::enable_recording ( std::function< void(const options_interface &)>  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< options_interface >.

§ get_option() [1/2]

option& librealsense::options_container::get_option ( rs2_option  id)
inlineoverridevirtual

§ get_option() [2/2]

const option& librealsense::options_container::get_option ( rs2_option  id) const
inlineoverridevirtual

§ register_option()

void librealsense::options_container::register_option ( rs2_option  id,
std::shared_ptr< option option 
)
inline

§ supports_option()

bool librealsense::options_container::supports_option ( rs2_option  id) const
inlineoverridevirtual

§ unregister_option()

void librealsense::options_container::unregister_option ( rs2_option  id)
inline

§ update()

void librealsense::options_container::update ( std::shared_ptr< extension_snapshot ext)
inlineoverridevirtual

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