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

#include <record_sensor.h>

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

Public Member Functions

 frame_holder_callback (std::function< void(frame_holder)> on_frame)
 
void on_frame (rs2_frame *fref) override
 
void release () override
 
- Public Member Functions inherited from rs2_frame_callback
virtual ~rs2_frame_callback ()
 

Private Attributes

std::function< void(frame_holder)> on_frame_function
 

Detailed Description

Definition at line 93 of file record_sensor.h.

Constructor & Destructor Documentation

librealsense::frame_holder_callback::frame_holder_callback ( std::function< void(frame_holder)>  on_frame)
inlineexplicit

Definition at line 97 of file record_sensor.h.

Member Function Documentation

void librealsense::frame_holder_callback::on_frame ( rs2_frame fref)
inlineoverridevirtual

Implements rs2_frame_callback.

Definition at line 99 of file record_sensor.h.

void librealsense::frame_holder_callback::release ( )
inlineoverridevirtual

Implements rs2_frame_callback.

Definition at line 104 of file record_sensor.h.

Member Data Documentation

std::function<void(frame_holder)> librealsense::frame_holder_callback::on_frame_function
private

Definition at line 95 of file record_sensor.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:37