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

Public Member Functions

float get_fps ()
 
rs2::stream_profile get_stream_profile ()
 
unsigned long long last_frame_number ()
 
void on_frame_arrival (const rs2::frame &f)
 
 profile ()
 

Private Attributes

float _actual_fps
 
int _counter
 
unsigned long long _last_frame_number
 
std::chrono::steady_clock::time_point _last_time
 
rs2::stream_profile _stream_profile
 
std::vector< std::chrono::steady_clock::time_point > _time_points
 

Detailed Description

Definition at line 21 of file rates-printer.h.

Constructor & Destructor Documentation

librealsense::rates_printer::profile::profile ( )

Definition at line 48 of file rates-printer.cpp.

Member Function Documentation

float librealsense::rates_printer::profile::get_fps ( )

Definition at line 62 of file rates-printer.cpp.

rs2::stream_profile librealsense::rates_printer::profile::get_stream_profile ( )

Definition at line 57 of file rates-printer.cpp.

unsigned long long librealsense::rates_printer::profile::last_frame_number ( )

Definition at line 52 of file rates-printer.cpp.

void librealsense::rates_printer::profile::on_frame_arrival ( const rs2::frame f)

Definition at line 67 of file rates-printer.cpp.

Member Data Documentation

float librealsense::rates_printer::profile::_actual_fps
private

Definition at line 28 of file rates-printer.h.

int librealsense::rates_printer::profile::_counter
private

Definition at line 25 of file rates-printer.h.

unsigned long long librealsense::rates_printer::profile::_last_frame_number
private

Definition at line 27 of file rates-printer.h.

std::chrono::steady_clock::time_point librealsense::rates_printer::profile::_last_time
private

Definition at line 29 of file rates-printer.h.

rs2::stream_profile librealsense::rates_printer::profile::_stream_profile
private

Definition at line 24 of file rates-printer.h.

std::vector<std::chrono::steady_clock::time_point> librealsense::rates_printer::profile::_time_points
private

Definition at line 26 of file rates-printer.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