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

#include <sync.h>

Inheritance diagram for rsimpl::syncronizing_archive:
rsimpl::frame_archive

Public Member Functions

 syncronizing_archive (const std::vector< subdevice_mode_selection > &selection, rs_stream key_stream, std::atomic< uint32_t > *max_size, std::atomic< uint32_t > *event_queue_size, std::atomic< uint32_t > *events_timeout, std::chrono::high_resolution_clock::time_point capture_started=std::chrono::high_resolution_clock::now())
 
void wait_for_frames ()
 
bool poll_for_frames ()
 
framesetwait_for_frames_safe ()
 
bool poll_for_frames_safe (frameset **frames)
 
double get_frame_metadata (rs_stream stream, rs_frame_metadata frame_metadata) const
 
bool supports_frame_metadata (rs_stream stream, rs_frame_metadata frame_metadata) const
 
const byteget_frame_data (rs_stream stream) const
 
double get_frame_timestamp (rs_stream stream) const
 
unsigned long long get_frame_number (rs_stream stream) const
 
long long get_frame_system_time (rs_stream stream) const
 
int get_frame_stride (rs_stream stream) const
 
int get_frame_bpp (rs_stream stream) const
 
framesetclone_frontbuffer ()
 
void commit_frame (rs_stream stream)
 
void flush () override
 
void correct_timestamp (rs_stream stream)
 
void on_timestamp (rs_timestamp_data data)
 
- Public Member Functions inherited from rsimpl::frame_archive
 frame_archive (const std::vector< subdevice_mode_selection > &selection, std::atomic< uint32_t > *max_frame_queue_size, std::chrono::high_resolution_clock::time_point capture_started=std::chrono::high_resolution_clock::now())
 
bool is_stream_enabled (rs_stream stream) const
 
const subdevice_mode_selectionget_mode (rs_stream stream) const
 
void release_frameset (frameset *frameset)
 
framesetclone_frameset (frameset *frameset)
 
void unpublish_frame (frame *frame)
 
framepublish_frame (frame &&frame)
 
frame_refdetach_frame_ref (frameset *frameset, rs_stream stream)
 
frame_refclone_frame (frame_ref *frameset)
 
void release_frame_ref (frame_ref *ref)
 
bytealloc_frame (rs_stream stream, const frame_additional_data &additional_data, bool requires_memory)
 
frame_reftrack_frame (rs_stream stream)
 
void attach_continuation (rs_stream stream, frame_continuation &&continuation)
 
void log_frame_callback_end (frame *frame)
 
void log_callback_start (frame_ref *frame_ref, std::chrono::high_resolution_clock::time_point capture_start_time)
 
virtual ~frame_archive ()
 

Additional Inherited Members

- Protected Attributes inherited from rsimpl::frame_archive
frame backbuffer [RS_STREAM_NATIVE_COUNT]
 
std::vector< framefreelist
 
std::recursive_mutex mutex
 
std::chrono::high_resolution_clock::time_point capture_started
 

Constructor & Destructor Documentation

◆ syncronizing_archive()

rsimpl::syncronizing_archive::syncronizing_archive ( const std::vector< subdevice_mode_selection > &  selection,
rs_stream  key_stream,
std::atomic< uint32_t > *  max_size,
std::atomic< uint32_t > *  event_queue_size,
std::atomic< uint32_t > *  events_timeout,
std::chrono::high_resolution_clock::time_point  capture_started = std::chrono::high_resolution_clock::now() 
)

Member Function Documentation

◆ clone_frontbuffer()

frameset* rsimpl::syncronizing_archive::clone_frontbuffer ( )

◆ commit_frame()

void rsimpl::syncronizing_archive::commit_frame ( rs_stream  stream)

◆ correct_timestamp()

void rsimpl::syncronizing_archive::correct_timestamp ( rs_stream  stream)

◆ flush()

void rsimpl::syncronizing_archive::flush ( )
overridevirtual

Reimplemented from rsimpl::frame_archive.

◆ get_frame_bpp()

int rsimpl::syncronizing_archive::get_frame_bpp ( rs_stream  stream) const

◆ get_frame_data()

const byte* rsimpl::syncronizing_archive::get_frame_data ( rs_stream  stream) const

◆ get_frame_metadata()

double rsimpl::syncronizing_archive::get_frame_metadata ( rs_stream  stream,
rs_frame_metadata  frame_metadata 
) const

◆ get_frame_number()

unsigned long long rsimpl::syncronizing_archive::get_frame_number ( rs_stream  stream) const

◆ get_frame_stride()

int rsimpl::syncronizing_archive::get_frame_stride ( rs_stream  stream) const

◆ get_frame_system_time()

long long rsimpl::syncronizing_archive::get_frame_system_time ( rs_stream  stream) const

◆ get_frame_timestamp()

double rsimpl::syncronizing_archive::get_frame_timestamp ( rs_stream  stream) const

◆ on_timestamp()

void rsimpl::syncronizing_archive::on_timestamp ( rs_timestamp_data  data)

◆ poll_for_frames()

bool rsimpl::syncronizing_archive::poll_for_frames ( )

◆ poll_for_frames_safe()

bool rsimpl::syncronizing_archive::poll_for_frames_safe ( frameset **  frames)

◆ supports_frame_metadata()

bool rsimpl::syncronizing_archive::supports_frame_metadata ( rs_stream  stream,
rs_frame_metadata  frame_metadata 
) const

◆ wait_for_frames()

void rsimpl::syncronizing_archive::wait_for_frames ( )

◆ wait_for_frames_safe()

frameset* rsimpl::syncronizing_archive::wait_for_frames_safe ( )

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