#include <output-model.h>
Public Member Functions | |
void | add_frame (rs2::frame f) |
virtual void | clear (bool full=false) |
void | close () |
bool | closing () const |
virtual void | draw (ux_window &win, rect r)=0 |
virtual int | get_height () const |
std::string | get_name () const |
stream_dashboard (std::string name, int size) | |
virtual | ~stream_dashboard () |
Protected Member Functions | |
void | add_point (float x, float y) |
void | draw_dashboard (ux_window &win, rect &r) |
virtual void | process_frame (rs2::frame f)=0 |
template<class T > | |
T | read_shared_data (std::function< T()> action) |
void | write_shared_data (std::function< void()> action) |
Private Member Functions | |
void | thread_function () |
Private Attributes | |
std::mutex | m |
std::string | name |
rs2::frame_queue | q |
std::atomic< int > | stop { false } |
std::thread | t |
bool | to_close = false |
std::vector< std::pair< float, float > > | xy |
Definition at line 18 of file output-model.h.
|
inline |
Definition at line 21 of file output-model.h.
|
inlinevirtual |
Definition at line 22 of file output-model.h.
|
inline |
Definition at line 30 of file output-model.h.
|
inlineprotected |
Definition at line 58 of file output-model.h.
|
inlinevirtual |
Reimplemented in rs2::frame_drops_dashboard.
Definition at line 36 of file output-model.h.
|
inline |
Definition at line 38 of file output-model.h.
|
inline |
Definition at line 39 of file output-model.h.
Implemented in rs2::frame_drops_dashboard.
Definition at line 949 of file output-model.cpp.
|
inlinevirtual |
Reimplemented in rs2::frame_drops_dashboard.
Definition at line 34 of file output-model.h.
|
inline |
Definition at line 28 of file output-model.h.
|
protectedpure virtual |
Implemented in rs2::frame_drops_dashboard.
|
inlineprotected |
Definition at line 51 of file output-model.h.
|
inlineprivate |
Definition at line 63 of file output-model.h.
Definition at line 44 of file output-model.h.
|
private |
Definition at line 74 of file output-model.h.
|
private |
Definition at line 72 of file output-model.h.
|
private |
Definition at line 73 of file output-model.h.
|
private |
Definition at line 75 of file output-model.h.
|
private |
Definition at line 76 of file output-model.h.
|
private |
Definition at line 78 of file output-model.h.
|
private |
Definition at line 77 of file output-model.h.