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

#include <syncer-processing-block.h>

Inheritance diagram for librealsense::syncer_process_unit:
Inheritance graph
[legend]

Public Member Functions

void add_enabling_option (bool_option::ptr is_enabled_opt)
 
void stop ()
 
 syncer_process_unit (std::initializer_list< bool_option::ptr > enable_opts, bool log=true)
 
 syncer_process_unit (bool_option::ptr is_enabled_opt=nullptr, bool log=true)
 
 ~syncer_process_unit ()
 
- Public Member Functions inherited from librealsense::processing_block
synthetic_source_interfaceget_source () override
 
void invoke (frame_holder frames) override
 
 processing_block (const char *name)
 
void set_output_callback (frame_callback_ptr callback) override
 
void set_processing_callback (frame_processor_callback_ptr callback) override
 
virtual ~processing_block ()
 
- Public Member Functions inherited from librealsense::processing_block_interface
virtual ~processing_block_interface ()=default
 
- 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::info_interface
virtual ~info_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::options_container
void create_snapshot (std::shared_ptr< options_interface > &snapshot) const override
 
void enable_recording (std::function< void(const options_interface &)> record_action) override
 
optionget_option (rs2_option id) override
 
const optionget_option (rs2_option id) const override
 
std::shared_ptr< optionget_option_handler (rs2_option id)
 
std::shared_ptr< optionget_option_handler (rs2_option id) const
 
virtual const char * get_option_name (rs2_option option) const override
 
std::vector< rs2_optionget_supported_options () const override
 
void register_option (rs2_option id, std::shared_ptr< option > option)
 
bool supports_option (rs2_option id) const override
 
void unregister_option (rs2_option id)
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 
- Public Member Functions inherited from librealsense::info_container
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
 
void enable_recording (std::function< void(const info_interface &)> record_action) override
 
const std::stringget_info (rs2_camera_info info) const override
 
void register_info (rs2_camera_info info, const std::string &val)
 
bool supports_info (rs2_camera_info info) const override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
void update_info (rs2_camera_info info, const std::string &val)
 

Private Attributes

std::mutex _callback_mutex
 
std::vector< std::weak_ptr< bool_option > > _enable_opts
 
std::shared_ptr< matcher_matcher
 
single_consumer_frame_queue< frame_holder_matches
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::processing_block
frame_processor_callback_ptr _callback
 
std::mutex _mutex
 
frame_source _source
 
synthetic_source _source_wrapper
 
- Protected Attributes inherited from librealsense::options_container
std::map< rs2_option, std::shared_ptr< option > > _options
 
std::function< void(const options_interface &)> _recording_function = [](const options_interface&) {}
 

Detailed Description

Definition at line 19 of file syncer-processing-block.h.

Constructor & Destructor Documentation

librealsense::syncer_process_unit::syncer_process_unit ( std::initializer_list< bool_option::ptr enable_opts,
bool  log = true 
)

Definition at line 13 of file syncer-processing-block.cpp.

librealsense::syncer_process_unit::syncer_process_unit ( bool_option::ptr  is_enabled_opt = nullptr,
bool  log = true 
)
inline

Definition at line 24 of file syncer-processing-block.h.

librealsense::syncer_process_unit::~syncer_process_unit ( )
inline

Definition at line 39 of file syncer-processing-block.h.

Member Function Documentation

void librealsense::syncer_process_unit::add_enabling_option ( bool_option::ptr  is_enabled_opt)
inline

Definition at line 27 of file syncer-processing-block.h.

void librealsense::syncer_process_unit::stop ( )
inline

Definition at line 34 of file syncer-processing-block.h.

Member Data Documentation

std::mutex librealsense::syncer_process_unit::_callback_mutex
private

Definition at line 48 of file syncer-processing-block.h.

std::vector< std::weak_ptr<bool_option> > librealsense::syncer_process_unit::_enable_opts
private

Definition at line 45 of file syncer-processing-block.h.

std::shared_ptr<matcher> librealsense::syncer_process_unit::_matcher
private

Definition at line 44 of file syncer-processing-block.h.

single_consumer_frame_queue<frame_holder> librealsense::syncer_process_unit::_matches
private

Definition at line 47 of file syncer-processing-block.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:38