NVIDIA DeepStream SDK API Reference

9.2 Release
rs2::syncer Class Reference

Detailed Description

Public Member Functions

 syncer (int queue_size=1)
 Sync instance to align frames from different streams. More...
 
frameset wait_for_frames (unsigned int timeout_ms=5000) const
 Wait until coherent set of frames becomes available. More...
 
bool poll_for_frames (frameset *fs) const
 Check if a coherent set of frames is available. More...
 
bool try_wait_for_frames (frameset *fs, unsigned int timeout_ms=5000) const
 Wait until coherent set of frames becomes available. More...
 
void operator() (frame f) const
 
 syncer (int queue_size=1)
 Sync instance to align frames from different streams. More...
 
frameset wait_for_frames (unsigned int timeout_ms=5000) const
 Wait until coherent set of frames becomes available. More...
 
bool poll_for_frames (frameset *fs) const
 Check if a coherent set of frames is available. More...
 
bool try_wait_for_frames (frameset *fs, unsigned int timeout_ms=5000) const
 Wait until coherent set of frames becomes available. More...
 
void operator() (frame f) const
 

Constructor & Destructor Documentation

◆ syncer() [1/2]

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

Sync instance to align frames from different streams.

Definition at line 603 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::processing_block::start().

◆ syncer() [2/2]

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

Sync instance to align frames from different streams.

Definition at line 603 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::processing_block::start().

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

◆ poll_for_frames() [1/2]

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

Definition at line 624 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::frame_queue::poll_for_frame().

◆ poll_for_frames() [2/2]

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

Definition at line 624 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::frame_queue::poll_for_frame().

◆ try_wait_for_frames() [1/2]

bool rs2::syncer::try_wait_for_frames ( frameset *  fs,
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 available frame
[out]fsNew coherent frame-set
Returns
true if new frame-set was stored to result

Definition at line 641 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::frame_queue::try_wait_for_frame().

◆ try_wait_for_frames() [2/2]

bool rs2::syncer::try_wait_for_frames ( frameset *  fs,
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 available frame
[out]fsNew coherent frame-set
Returns
true if new frame-set was stored to result

Definition at line 641 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::frame_queue::try_wait_for_frame().

◆ wait_for_frames() [1/2]

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

Definition at line 614 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::frame_queue::wait_for_frame().

◆ wait_for_frames() [2/2]

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

Definition at line 614 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.

References rs2::frame_queue::wait_for_frame().


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