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

#include <sync.h>

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

Public Member Functions

bool are_equivalent (frame_holder &a, frame_holder &b) override
 
void clean_inactive_streams (frame_holder &f) override
 
 frame_number_composite_matcher (std::vector< std::shared_ptr< matcher >> matchers)
 
bool is_smaller_than (frame_holder &a, frame_holder &b) override
 
bool skip_missing_stream (std::vector< matcher * > synced, matcher *missing, const syncronization_environment &env) override
 
virtual void update_last_arrived (frame_holder &f, matcher *m) override
 
void update_next_expected (const frame_holder &f) 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
 
void sync (frame_holder f, const syncronization_environment &env) 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 ()
 

Private Attributes

std::map< matcher *, unsigned long long > _last_arrived
 

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 168 of file sync.h.

Constructor & Destructor Documentation

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

Definition at line 396 of file sync.cpp.

Member Function Documentation

bool librealsense::frame_number_composite_matcher::are_equivalent ( frame_holder a,
frame_holder b 
)
overridevirtual

Implements librealsense::composite_matcher.

Definition at line 406 of file sync.cpp.

void librealsense::frame_number_composite_matcher::clean_inactive_streams ( frame_holder f)
overridevirtual

Implements librealsense::composite_matcher.

Definition at line 414 of file sync.cpp.

bool librealsense::frame_number_composite_matcher::is_smaller_than ( frame_holder a,
frame_holder b 
)
overridevirtual

Implements librealsense::composite_matcher.

Definition at line 410 of file sync.cpp.

bool librealsense::frame_number_composite_matcher::skip_missing_stream ( std::vector< matcher * >  synced,
matcher missing,
const syncronization_environment env 
)
overridevirtual

Implements librealsense::composite_matcher.

Definition at line 440 of file sync.cpp.

void librealsense::frame_number_composite_matcher::update_last_arrived ( frame_holder f,
matcher m 
)
overridevirtual

Implements librealsense::composite_matcher.

Definition at line 401 of file sync.cpp.

void librealsense::frame_number_composite_matcher::update_next_expected ( const frame_holder f)
overridevirtual

Implements librealsense::composite_matcher.

Definition at line 458 of file sync.cpp.

Member Data Documentation

std::map<matcher*,unsigned long long> librealsense::frame_number_composite_matcher::_last_arrived
private

Definition at line 180 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