Intel® RealSense™ Cross Platform API  2.13.0
Intel Realsense Cross-platform API
Public Member Functions | List of all members
rs2::syncer Class Reference

#include <rs_processing.hpp>

Public Member Functions

 syncer (int queue_size=1)
 
frameset wait_for_frames (unsigned int timeout_ms=5000) const
 
bool poll_for_frames (frameset *fs) const
 
void operator() (frame f) const
 

Constructor & Destructor Documentation

◆ syncer()

rs2::syncer::syncer ( int  queue_size = 1)
inline

Member Function Documentation

◆ operator()()

void rs2::syncer::operator() ( frame  f) const
inline

◆ poll_for_frames()

bool rs2::syncer::poll_for_frames ( frameset fs) const
inline

Check if a coherent set of frames is available

Parameters
[out]fsNew coherent frame-set
Returns
true if new frame-set was stored to result

◆ wait_for_frames()

frameset rs2::syncer::wait_for_frames ( unsigned int  timeout_ms = 5000) const
inline

Wait until coherent set of frames becomes available

Parameters
[in]timeout_msMax time in milliseconds to wait until an exception will be thrown
Returns
Set of coherent frames

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