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

#include <synthetic-stream.h>

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

Public Member Functions

frame_interfaceallocate_composite_frame (std::vector< frame_holder > frames) override
 
frame_interfaceallocate_motion_frame (std::shared_ptr< stream_profile_interface > stream, frame_interface *original, rs2_extension frame_type=RS2_EXTENSION_MOTION_FRAME) override
 
frame_interfaceallocate_points (std::shared_ptr< stream_profile_interface > stream, frame_interface *original, rs2_extension frame_type=RS2_EXTENSION_POINTS) override
 
frame_interfaceallocate_video_frame (std::shared_ptr< stream_profile_interface > stream, frame_interface *original, int new_bpp=0, int new_width=0, int new_height=0, int new_stride=0, rs2_extension frame_type=RS2_EXTENSION_VIDEO_FRAME) override
 
void frame_ready (frame_holder result) override
 
rs2_sourceget_c_wrapper () override
 
 synthetic_source (frame_source &actual)
 
- Public Member Functions inherited from librealsense::synthetic_source_interface
virtual ~synthetic_source_interface ()=default
 

Private Attributes

frame_source_actual_source
 
std::shared_ptr< rs2_source_c_wrapper
 

Detailed Description

Definition at line 14 of file synthetic-stream.h.

Constructor & Destructor Documentation

librealsense::synthetic_source::synthetic_source ( frame_source actual)
inline

Definition at line 17 of file synthetic-stream.h.

Member Function Documentation

frame_interface * librealsense::synthetic_source::allocate_composite_frame ( std::vector< frame_holder frames)
overridevirtual

Implements librealsense::synthetic_source_interface.

Definition at line 457 of file synthetic-stream.cpp.

frame_interface * librealsense::synthetic_source::allocate_motion_frame ( std::shared_ptr< stream_profile_interface stream,
frame_interface original,
rs2_extension  frame_type = RS2_EXTENSION_MOTION_FRAME 
)
overridevirtual

Implements librealsense::synthetic_source_interface.

Definition at line 413 of file synthetic-stream.cpp.

frame_interface * librealsense::synthetic_source::allocate_points ( std::shared_ptr< stream_profile_interface stream,
frame_interface original,
rs2_extension  frame_type = RS2_EXTENSION_POINTS 
)
overridevirtual

Implements librealsense::synthetic_source_interface.

Definition at line 322 of file synthetic-stream.cpp.

frame_interface * librealsense::synthetic_source::allocate_video_frame ( std::shared_ptr< stream_profile_interface stream,
frame_interface original,
int  new_bpp = 0,
int  new_width = 0,
int  new_height = 0,
int  new_stride = 0,
rs2_extension  frame_type = RS2_EXTENSION_VIDEO_FRAME 
)
overridevirtual

Implements librealsense::synthetic_source_interface.

Definition at line 345 of file synthetic-stream.cpp.

void librealsense::synthetic_source::frame_ready ( frame_holder  result)
overridevirtual

Implements librealsense::synthetic_source_interface.

Definition at line 317 of file synthetic-stream.cpp.

rs2_source* librealsense::synthetic_source::get_c_wrapper ( )
inlineoverridevirtual

Implements librealsense::synthetic_source_interface.

Definition at line 41 of file synthetic-stream.h.

Member Data Documentation

frame_source& librealsense::synthetic_source::_actual_source
private

Definition at line 44 of file synthetic-stream.h.

std::shared_ptr<rs2_source> librealsense::synthetic_source::_c_wrapper
private

Definition at line 45 of file synthetic-stream.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:38