Public Member Functions | Public Attributes | Private Attributes | List of all members
librealsense::frame Class Reference

#include <archive.h>

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

Public Member Functions

void acquire () override
 
void attach_continuation (frame_continuation &&continuation) override
 
void disable_continuation () override
 
 frame ()
 
 frame (const frame &r)=delete
 
 frame (frame &&r)
 
rs2_time_t get_frame_callback_start_time_point () const override
 
const byteget_frame_data () const override
 
int get_frame_data_size () const override
 
rs2_metadata_type get_frame_metadata (const rs2_frame_metadata_value &frame_metadata) const override
 
unsigned long long get_frame_number () const override
 
rs2_time_t get_frame_system_time () const override
 
rs2_time_t get_frame_timestamp () const override
 
rs2_timestamp_domain get_frame_timestamp_domain () const override
 
archive_interfaceget_owner () const override
 
std::shared_ptr< sensor_interfaceget_sensor () const override
 
std::shared_ptr< stream_profile_interfaceget_stream () const override
 
bool is_blocking () const override
 
bool is_fixed () const override
 
void keep () override
 
void log_callback_end (rs2_time_t timestamp) const override
 
void log_callback_start (rs2_time_t timestamp) override
 
void mark_fixed () override
 
frameoperator= (const frame &r)=delete
 
frameoperator= (frame &&r)
 
frame_interfacepublish (std::shared_ptr< archive_interface > new_owner) override
 
void release () override
 
void set_blocking (bool state) override
 
void set_sensor (std::shared_ptr< sensor_interface > s) override
 
void set_stream (std::shared_ptr< stream_profile_interface > sp) override
 
void set_timestamp (double new_ts) override
 
void set_timestamp_domain (rs2_timestamp_domain timestamp_domain) override
 
bool supports_frame_metadata (const rs2_frame_metadata_value &frame_metadata) const override
 
void unpublish () override
 
void update_frame_callback_start_ts (rs2_time_t ts) override
 
virtual ~frame ()
 
- Public Member Functions inherited from librealsense::frame_interface
virtual ~frame_interface ()=default
 
- Public Member Functions inherited from librealsense::sensor_part
virtual ~sensor_part ()=default
 

Public Attributes

frame_additional_data additional_data
 
std::vector< bytedata
 
std::shared_ptr< metadata_parser_mapmetadata_parsers = nullptr
 

Private Attributes

bool _fixed = false
 
std::atomic_bool _kept
 
frame_continuation on_release
 
std::shared_ptr< archive_interfaceowner
 
std::atomic< int > ref_count
 
std::weak_ptr< sensor_interfacesensor
 
std::shared_ptr< stream_profile_interfacestream
 

Detailed Description

Definition at line 97 of file archive.h.

Constructor & Destructor Documentation

librealsense::frame::frame ( )
inlineexplicit

Definition at line 103 of file archive.h.

librealsense::frame::frame ( const frame r)
delete
librealsense::frame::frame ( frame &&  r)
inline

Definition at line 105 of file archive.h.

virtual librealsense::frame::~frame ( )
inlinevirtual

Definition at line 128 of file archive.h.

Member Function Documentation

void librealsense::frame::acquire ( )
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 150 of file archive.h.

void librealsense::frame::attach_continuation ( frame_continuation &&  continuation)
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 156 of file archive.h.

void librealsense::frame::disable_continuation ( )
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 157 of file archive.h.

rs2_time_t librealsense::frame::get_frame_callback_start_time_point ( ) const
overridevirtual

Implements librealsense::frame_interface.

Definition at line 313 of file archive.cpp.

const byte * librealsense::frame::get_frame_data ( ) const
overridevirtual
int librealsense::frame::get_frame_data_size ( ) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 271 of file archive.cpp.

rs2_metadata_type librealsense::frame::get_frame_metadata ( const rs2_frame_metadata_value frame_metadata) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 216 of file archive.cpp.

unsigned long long librealsense::frame::get_frame_number ( ) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 298 of file archive.cpp.

rs2_time_t librealsense::frame::get_frame_system_time ( ) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 303 of file archive.cpp.

rs2_time_t librealsense::frame::get_frame_timestamp ( ) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 293 of file archive.cpp.

rs2_timestamp_domain librealsense::frame::get_frame_timestamp_domain ( ) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 288 of file archive.cpp.

archive_interface* librealsense::frame::get_owner ( ) const
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 159 of file archive.h.

std::shared_ptr< sensor_interface > librealsense::frame::get_sensor ( ) const
overridevirtual

Implements librealsense::sensor_part.

Reimplemented in librealsense::composite_frame.

Definition at line 14 of file archive.cpp.

std::shared_ptr<stream_profile_interface> librealsense::frame::get_stream ( ) const
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 144 of file archive.h.

bool librealsense::frame::is_blocking ( ) const
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 172 of file archive.h.

bool librealsense::frame::is_fixed ( ) const
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 169 of file archive.h.

void librealsense::frame::keep ( )
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::depth_frame, and librealsense::composite_frame.

Definition at line 201 of file archive.cpp.

void librealsense::frame::log_callback_end ( rs2_time_t  timestamp) const
overridevirtual

Implements librealsense::frame_interface.

Definition at line 324 of file archive.cpp.

void librealsense::frame::log_callback_start ( rs2_time_t  timestamp)
overridevirtual

Implements librealsense::frame_interface.

Definition at line 318 of file archive.cpp.

void librealsense::frame::mark_fixed ( )
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 168 of file archive.h.

frame& librealsense::frame::operator= ( const frame r)
delete
frame& librealsense::frame::operator= ( frame &&  r)
inline

Definition at line 114 of file archive.h.

frame_interface * librealsense::frame::publish ( std::shared_ptr< archive_interface new_owner)
overridevirtual
void librealsense::frame::release ( )
overridevirtual

Implements librealsense::frame_interface.

Definition at line 191 of file archive.cpp.

void librealsense::frame::set_blocking ( bool  state)
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 171 of file archive.h.

void librealsense::frame::set_sensor ( std::shared_ptr< sensor_interface s)
overridevirtual

Implements librealsense::sensor_part.

Definition at line 24 of file archive.cpp.

void librealsense::frame::set_stream ( std::shared_ptr< stream_profile_interface sp)
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 145 of file archive.h.

void librealsense::frame::set_timestamp ( double  new_ts)
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 135 of file archive.h.

void librealsense::frame::set_timestamp_domain ( rs2_timestamp_domain  timestamp_domain)
inlineoverridevirtual

Implements librealsense::frame_interface.

Definition at line 137 of file archive.h.

bool librealsense::frame::supports_frame_metadata ( const rs2_frame_metadata_value frame_metadata) const
overridevirtual

Implements librealsense::frame_interface.

Reimplemented in librealsense::composite_frame.

Definition at line 250 of file archive.cpp.

void librealsense::frame::unpublish ( )
inlineoverridevirtual
void librealsense::frame::update_frame_callback_start_ts ( rs2_time_t  ts)
overridevirtual

Implements librealsense::frame_interface.

Definition at line 308 of file archive.cpp.

Member Data Documentation

bool librealsense::frame::_fixed = false
private

Definition at line 180 of file archive.h.

std::atomic_bool librealsense::frame::_kept
private

Definition at line 181 of file archive.h.

frame_additional_data librealsense::frame::additional_data

Definition at line 101 of file archive.h.

std::vector<byte> librealsense::frame::data

Definition at line 100 of file archive.h.

std::shared_ptr<metadata_parser_map> librealsense::frame::metadata_parsers = nullptr

Definition at line 102 of file archive.h.

frame_continuation librealsense::frame::on_release
private

Definition at line 179 of file archive.h.

std::shared_ptr<archive_interface> librealsense::frame::owner
private

Definition at line 177 of file archive.h.

std::atomic<int> librealsense::frame::ref_count
private

Definition at line 176 of file archive.h.

std::weak_ptr<sensor_interface> librealsense::frame::sensor
private

Definition at line 178 of file archive.h.

std::shared_ptr<stream_profile_interface> librealsense::frame::stream
private

Definition at line 182 of file archive.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