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

#include <sync.h>

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

Public Member Functions

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 void stop () override
 
virtual void sync (frame_holder f, const syncronization_environment &env) override
 
virtual ~matcher ()
 
- Public Member Functions inherited from librealsense::matcher_interface
virtual void dispatch (frame_holder f, const syncronization_environment &env)=0
 

Protected Attributes

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

Constructor & Destructor Documentation

librealsense::matcher::matcher ( std::vector< stream_id streams_id = {})

Definition at line 20 of file sync.cpp.

librealsense::matcher::~matcher ( )
virtual

Definition at line 64 of file sync.cpp.

Member Function Documentation

callback_invocation_holder librealsense::matcher::begin_callback ( )

Definition at line 34 of file sync.cpp.

bool librealsense::matcher::get_active ( ) const

Definition at line 44 of file sync.cpp.

std::string librealsense::matcher::get_name ( ) const
overridevirtual

Implements librealsense::matcher_interface.

Definition at line 39 of file sync.cpp.

const std::vector< stream_id > & librealsense::matcher::get_streams ( ) const
overridevirtual

Implements librealsense::matcher_interface.

Definition at line 54 of file sync.cpp.

const std::vector< rs2_stream > & librealsense::matcher::get_streams_types ( ) const
overridevirtual

Implements librealsense::matcher_interface.

Definition at line 59 of file sync.cpp.

void librealsense::matcher::set_active ( const bool  active)

Definition at line 49 of file sync.cpp.

void librealsense::matcher::set_callback ( sync_callback  f)
overridevirtual

Implements librealsense::matcher_interface.

Definition at line 29 of file sync.cpp.

virtual void librealsense::matcher::stop ( )
inlineoverridevirtual

Implements librealsense::matcher_interface.

Reimplemented in librealsense::composite_matcher.

Definition at line 103 of file sync.h.

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

Member Data Documentation

bool librealsense::matcher::_active = true
protected

Definition at line 111 of file sync.h.

sync_callback librealsense::matcher::_callback
protected

Definition at line 108 of file sync.h.

callbacks_heap librealsense::matcher::_callback_inflight
protected

Definition at line 109 of file sync.h.

std::string librealsense::matcher::_name
protected

Definition at line 110 of file sync.h.

std::vector<stream_id> librealsense::matcher::_streams_id
protected

Definition at line 106 of file sync.h.

std::vector<rs2_stream> librealsense::matcher::_streams_type
protected

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