Public Member Functions | Private Attributes | List of all members
rs::frame_callback Class Reference

#include <rs.hpp>

Inheritance diagram for rs::frame_callback:
Inheritance graph
[legend]

Public Member Functions

 frame_callback (std::function< void(frame)> on_frame)
 
void on_frame (rs_device *device, rs_frame_ref *fref) override
 
void release () override
 
- Public Member Functions inherited from rs_frame_callback
virtual ~rs_frame_callback ()
 

Private Attributes

std::function< void(frame)> on_frame_function
 

Detailed Description

Definition at line 553 of file rs.hpp.

Constructor & Destructor Documentation

rs::frame_callback::frame_callback ( std::function< void(frame)>  on_frame)
inlineexplicit

Definition at line 557 of file rs.hpp.

Member Function Documentation

void rs::frame_callback::on_frame ( rs_device device,
rs_frame_ref fref 
)
inlineoverridevirtual

Implements rs_frame_callback.

Definition at line 559 of file rs.hpp.

void rs::frame_callback::release ( )
inlineoverridevirtual

Implements rs_frame_callback.

Definition at line 564 of file rs.hpp.

Member Data Documentation

std::function<void(frame)> rs::frame_callback::on_frame_function
private

Definition at line 555 of file rs.hpp.


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


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19