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

#include <stream.h>

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

Public Member Functions

std::shared_ptr< stream_profile_interfaceclone () const override
 
uint32_t get_height () const override
 
rs2_intrinsics get_intrinsics () const override
 
uint32_t get_width () const override
 
bool operator== (const video_stream_profile &other) const
 
void set_dims (uint32_t width, uint32_t height) override
 
void set_intrinsics (std::function< rs2_intrinsics()> calc) override
 
void update (std::shared_ptr< extension_snapshot > ext) override
 
 video_stream_profile (platform::stream_profile sp)
 
- Public Member Functions inherited from librealsense::stream_interface
virtual ~stream_interface ()=default
 
- Public Member Functions inherited from librealsense::recordable< stream_profile_interface >
virtual ~recordable ()=default
 
- Public Member Functions inherited from librealsense::stream_profile_base
void create_snapshot (std::shared_ptr< stream_profile_interface > &snapshot) const override
 
void enable_recording (std::function< void(const stream_profile_interface &)> record_action) override
 
rs2_stream_profileget_c_wrapper () const override
 
rs2_format get_format () const override
 
uint32_t get_framerate () const override
 
int get_stream_index () const override
 
rs2_stream get_stream_type () const override
 
int get_tag () const override
 
int get_unique_id () const override
 
void set_c_wrapper (rs2_stream_profile *wrapper) override
 
void set_format (rs2_format format) override
 
void set_framerate (uint32_t val) override
 
void set_stream_index (int index) override
 
void set_stream_type (rs2_stream stream) override
 
void set_unique_id (int uid) override
 
 stream_profile_base (platform::stream_profile sp)
 
void tag_profile (int tag) override
 
- Public Member Functions inherited from librealsense::backend_stream_profile
 backend_stream_profile (platform::stream_profile sp)
 
platform::stream_profile get_backend_profile () const
 
virtual ~backend_stream_profile ()=default
 
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
 

Private Attributes

std::function< rs2_intrinsics()> _calc_intrinsics
 
uint32_t _height
 
uint32_t _width
 

Detailed Description

Definition at line 91 of file src/stream.h.

Constructor & Destructor Documentation

librealsense::video_stream_profile::video_stream_profile ( platform::stream_profile  sp)
inlineexplicit

Definition at line 94 of file src/stream.h.

Member Function Documentation

std::shared_ptr<stream_profile_interface> librealsense::video_stream_profile::clone ( ) const
inlineoverridevirtual

Reimplemented from librealsense::stream_profile_base.

Definition at line 112 of file src/stream.h.

uint32_t librealsense::video_stream_profile::get_height ( ) const
inlineoverridevirtual

Implements librealsense::video_stream_profile_interface.

Definition at line 105 of file src/stream.h.

rs2_intrinsics librealsense::video_stream_profile::get_intrinsics ( ) const
inlineoverridevirtual

Implements librealsense::video_stream_profile_interface.

Definition at line 101 of file src/stream.h.

uint32_t librealsense::video_stream_profile::get_width ( ) const
inlineoverridevirtual

Implements librealsense::video_stream_profile_interface.

Definition at line 104 of file src/stream.h.

bool librealsense::video_stream_profile::operator== ( const video_stream_profile other) const
inline

Definition at line 126 of file src/stream.h.

void librealsense::video_stream_profile::set_dims ( uint32_t  width,
uint32_t  height 
)
inlineoverridevirtual

Implements librealsense::video_stream_profile_interface.

Definition at line 106 of file src/stream.h.

void librealsense::video_stream_profile::set_intrinsics ( std::function< rs2_intrinsics()>  calc)
inlineoverridevirtual

Implements librealsense::video_stream_profile_interface.

Definition at line 102 of file src/stream.h.

void librealsense::video_stream_profile::update ( std::shared_ptr< extension_snapshot ext)
inlineoverridevirtual

Implements librealsense::extension_snapshot.

Definition at line 137 of file src/stream.h.

Member Data Documentation

std::function<rs2_intrinsics()> librealsense::video_stream_profile::_calc_intrinsics
private

Definition at line 142 of file src/stream.h.

uint32_t librealsense::video_stream_profile::_height
private

Definition at line 143 of file src/stream.h.

uint32_t librealsense::video_stream_profile::_width
private

Definition at line 143 of file src/stream.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:38