Public Member Functions | Private Attributes | List of all members
rs2::frame_drops_dashboard Class Reference

#include <output-model.h>

Inheritance diagram for rs2::frame_drops_dashboard:
Inheritance graph
[legend]

Public Member Functions

void clear (bool full) override
 
void draw (ux_window &win, rect r) override
 
 frame_drops_dashboard (std::string name, int *frame_drop_count, int *total)
 
int get_height () const override
 
void process_frame (rs2::frame f) override
 
- Public Member Functions inherited from rs2::stream_dashboard
void add_frame (rs2::frame f)
 
void close ()
 
bool closing () const
 
std::string get_name () const
 
 stream_dashboard (std::string name, int size)
 
virtual ~stream_dashboard ()
 

Private Attributes

int counter = 0
 
int drops = 0
 
std::deque< int > drops_history
 
int * frame_drop_count
 
double last_time
 
int method = 0
 
std::map< int, double > stream_to_time
 
int * total
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::stream_dashboard
void add_point (float x, float y)
 
void draw_dashboard (ux_window &win, rect &r)
 
template<class T >
read_shared_data (std::function< T()> action)
 
void write_shared_data (std::function< void()> action)
 

Detailed Description

Definition at line 81 of file output-model.h.

Constructor & Destructor Documentation

rs2::frame_drops_dashboard::frame_drops_dashboard ( std::string  name,
int *  frame_drop_count,
int *  total 
)
inline

Definition at line 84 of file output-model.h.

Member Function Documentation

void frame_drops_dashboard::clear ( bool  full)
overridevirtual

Reimplemented from rs2::stream_dashboard.

Definition at line 1158 of file output-model.cpp.

void frame_drops_dashboard::draw ( ux_window win,
rect  r 
)
overridevirtual

Implements rs2::stream_dashboard.

Definition at line 1124 of file output-model.cpp.

int frame_drops_dashboard::get_height ( ) const
overridevirtual

Reimplemented from rs2::stream_dashboard.

Definition at line 1153 of file output-model.cpp.

void frame_drops_dashboard::process_frame ( rs2::frame  f)
overridevirtual

Implements rs2::stream_dashboard.

Definition at line 1087 of file output-model.cpp.

Member Data Documentation

int rs2::frame_drops_dashboard::counter = 0
private

Definition at line 103 of file output-model.h.

int rs2::frame_drops_dashboard::drops = 0
private

Definition at line 99 of file output-model.h.

std::deque<int> rs2::frame_drops_dashboard::drops_history
private

Definition at line 101 of file output-model.h.

int* rs2::frame_drops_dashboard::frame_drop_count
private

Definition at line 102 of file output-model.h.

double rs2::frame_drops_dashboard::last_time
private

Definition at line 100 of file output-model.h.

int rs2::frame_drops_dashboard::method = 0
private

Definition at line 104 of file output-model.h.

std::map<int, double> rs2::frame_drops_dashboard::stream_to_time
private

Definition at line 98 of file output-model.h.

int * rs2::frame_drops_dashboard::total
private

Definition at line 102 of file output-model.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:40