Public Member Functions | Public Attributes | Private Attributes | List of all members
rs2::syncer_model Class Reference

#include <model-views.h>

Public Member Functions

std::shared_ptr< rs2::asynchronous_syncercreate_syncer ()
 
void remove_syncer (std::shared_ptr< rs2::asynchronous_syncer > s)
 
void start ()
 
void stop ()
 
 syncer_model ()
 
std::vector< rs2::framesettry_wait_for_frames ()
 

Public Attributes

std::function< void()> on_frame = []{}
 

Private Attributes

std::atomic< bool > _active
 
std::mutex _mutex
 
std::vector< std::pair< std::shared_ptr< rs2::asynchronous_syncer >, rs2::frame_queue > > _syncers
 

Detailed Description

Definition at line 378 of file model-views.h.

Constructor & Destructor Documentation

rs2::syncer_model::syncer_model ( )
inline

Definition at line 381 of file model-views.h.

Member Function Documentation

std::shared_ptr<rs2::asynchronous_syncer> rs2::syncer_model::create_syncer ( )
inline

Definition at line 384 of file model-views.h.

void rs2::syncer_model::remove_syncer ( std::shared_ptr< rs2::asynchronous_syncer s)
inline

Definition at line 401 of file model-views.h.

void rs2::syncer_model::start ( )
inline

Definition at line 435 of file model-views.h.

void rs2::syncer_model::stop ( )
inline

Definition at line 430 of file model-views.h.

std::vector<rs2::frameset> rs2::syncer_model::try_wait_for_frames ( )
inline

Definition at line 413 of file model-views.h.

Member Data Documentation

std::atomic<bool> rs2::syncer_model::_active
private

Definition at line 444 of file model-views.h.

std::mutex rs2::syncer_model::_mutex
private

Definition at line 443 of file model-views.h.

std::vector<std::pair<std::shared_ptr<rs2::asynchronous_syncer>, rs2::frame_queue> > rs2::syncer_model::_syncers
private

Definition at line 442 of file model-views.h.

std::function<void()> rs2::syncer_model::on_frame = []{}

Definition at line 440 of file model-views.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:41