Public Member Functions | Protected Member Functions | List of all members
librealsense::composite_identity_matcher Class Reference

#include <sync.h>

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

Public Member Functions

virtual bool are_equivalent (frame_holder &a, frame_holder &b) override
 
virtual void clean_inactive_streams (frame_holder &f) override
 
 composite_identity_matcher (std::vector< std::shared_ptr< matcher >> matchers)
 
virtual bool is_smaller_than (frame_holder &a, frame_holder &b) override
 
virtual bool skip_missing_stream (std::vector< matcher * > synced, matcher *missing, const syncronization_environment &env) override
 
void sync (frame_holder f, const syncronization_environment &env) override
 
virtual void update_last_arrived (frame_holder &f, matcher *m) override
 
- Public Member Functions inherited from librealsense::composite_matcher
 composite_matcher (std::vector< std::shared_ptr< matcher >> matchers, std::string name)
 
void dispatch (frame_holder f, const syncronization_environment &env) override
 
std::shared_ptr< matcherfind_matcher (const frame_holder &f)
 
std::string frames_to_string (std::vector< librealsense::matcher * > matchers)
 
virtual void stop () override
 
- Public Member Functions inherited from librealsense::matcher
callback_invocation_holder begin_callback ()
 
bool get_active () const
 
virtual std::string get_name () const override
 
const std::vector< stream_id > & get_streams () const override
 
const std::vector< rs2_stream > & get_streams_types () const override
 
 matcher (std::vector< stream_id > streams_id={})
 
void set_active (const bool active)
 
virtual void set_callback (sync_callback f) override
 
virtual ~matcher ()
 

Protected Member Functions

virtual void update_next_expected (const frame_holder &f) override
 

Additional Inherited Members

- Protected Attributes inherited from librealsense::composite_matcher
std::map< matcher *, single_consumer_frame_queue< frame_holder > > _frames_queue
 
std::map< stream_id, std::shared_ptr< matcher > > _matchers
 
std::map< matcher *, double > _next_expected
 
std::map< matcher *, rs2_timestamp_domain_next_expected_domain
 
- Protected Attributes inherited from librealsense::matcher
bool _active = true
 
sync_callback _callback
 
callbacks_heap _callback_inflight
 
std::string _name
 
std::vector< stream_id_streams_id
 
std::vector< rs2_stream_streams_type
 

Detailed Description

Definition at line 152 of file sync.h.

Constructor & Destructor Documentation

librealsense::composite_identity_matcher::composite_identity_matcher ( std::vector< std::shared_ptr< matcher >>  matchers)

Definition at line 616 of file sync.cpp.

Member Function Documentation

virtual bool librealsense::composite_identity_matcher::are_equivalent ( frame_holder a,
frame_holder b 
)
inlineoverridevirtual

Implements librealsense::composite_matcher.

Definition at line 158 of file sync.h.

virtual void librealsense::composite_identity_matcher::clean_inactive_streams ( frame_holder f)
inlineoverridevirtual

Implements librealsense::composite_matcher.

Definition at line 161 of file sync.h.

virtual bool librealsense::composite_identity_matcher::is_smaller_than ( frame_holder a,
frame_holder b 
)
inlineoverridevirtual

Implements librealsense::composite_matcher.

Definition at line 159 of file sync.h.

virtual bool librealsense::composite_identity_matcher::skip_missing_stream ( std::vector< matcher * >  synced,
matcher missing,
const syncronization_environment env 
)
inlineoverridevirtual

Implements librealsense::composite_matcher.

Definition at line 160 of file sync.h.

void librealsense::composite_identity_matcher::sync ( frame_holder  f,
const syncronization_environment env 
)
overridevirtual

Reimplemented from librealsense::composite_matcher.

Definition at line 619 of file sync.cpp.

virtual void librealsense::composite_identity_matcher::update_last_arrived ( frame_holder f,
matcher m 
)
inlineoverridevirtual

Implements librealsense::composite_matcher.

Definition at line 162 of file sync.h.

virtual void librealsense::composite_identity_matcher::update_next_expected ( const frame_holder f)
inlineoverrideprotectedvirtual

Implements librealsense::composite_matcher.

Definition at line 165 of file sync.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