#include <rs.hpp>
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 |
Private Attributes | |
std::function< void(frame)> | on_frame_function |
rs::frame_callback::frame_callback | ( | std::function< void(frame)> | on_frame | ) | [inline, explicit] |
void rs::frame_callback::on_frame | ( | rs_device * | device, |
rs_frame_ref * | fref | ||
) | [inline, override, virtual] |
Implements rs_frame_callback.
void rs::frame_callback::release | ( | ) | [inline, override, virtual] |
Implements rs_frame_callback.
std::function<void(frame)> rs::frame_callback::on_frame_function [private] |