#include <plotdata.h>
Classes | |
| class | Point |
| struct | RangeTime |
| struct | RangeValue |
Public Types | |
| enum | { MAX_CAPACITY = 1024*1024, ASYNC_BUFFER_CAPACITY = 1024 } |
| typedef nonstd::optional < RangeTime > | RangeTimeOpt |
| typedef nonstd::optional < RangeValue > | RangeValueOpt |
| typedef Time | TimeType |
| typedef Value | ValueType |
Public Member Functions | |
| const Point & | at (size_t index) const |
| void | clear () |
| bool | flushAsyncBuffer () |
| QColor | getColorHint () const |
| int | getIndexFromX (Time x) const |
| nonstd::optional< Value > | getYfromX (Time x) const |
| std::string | name () const |
| PlotDataGeneric (const char *name) | |
| void | pushBack (Point p) |
| void | pushBackAsynchronously (Point p) |
| void | setColorHint (QColor color) |
| void | setMaximumRangeX (Time max_range) |
| virtual size_t | size () const |
| virtual | ~PlotDataGeneric () |
Static Public Member Functions | |
| static std::mutex & | asyncPushMutex () |
Protected Attributes | |
| QColor | _color_hint |
| std::string | _name |
| std::deque< Point > | _points |
| std::deque< Point > | _pushed_points |
Private Attributes | |
| Time | _max_range_X |
Static Private Attributes | |
| static std::mutex | _mutex |
Definition at line 16 of file plotdata.h.
| typedef nonstd::optional<RangeTime> PlotDataGeneric< Time, Value >::RangeTimeOpt |
Definition at line 30 of file plotdata.h.
| typedef nonstd::optional<RangeValue> PlotDataGeneric< Time, Value >::RangeValueOpt |
Definition at line 31 of file plotdata.h.
| typedef Time PlotDataGeneric< Time, Value >::TimeType |
Definition at line 47 of file plotdata.h.
| typedef Value PlotDataGeneric< Time, Value >::ValueType |
Definition at line 49 of file plotdata.h.
| anonymous enum |
Definition at line 42 of file plotdata.h.
| PlotDataGeneric< Time, Value >::PlotDataGeneric | ( | const char * | name | ) | [inline] |
Definition at line 124 of file plotdata.h.
| virtual PlotDataGeneric< Time, Value >::~PlotDataGeneric | ( | ) | [inline, virtual] |
Definition at line 53 of file plotdata.h.
| static std::mutex& PlotDataGeneric< Time, Value >::asyncPushMutex | ( | ) | [inline, static] |
Definition at line 79 of file plotdata.h.
| const PlotDataGeneric< Time, Value >::Point & PlotDataGeneric< Time, Value >::at | ( | size_t | index | ) | const [inline] |
Definition at line 204 of file plotdata.h.
| void PlotDataGeneric< Time, Value >::clear | ( | ) |
Definition at line 210 of file plotdata.h.
| bool PlotDataGeneric< Time, Value >::flushAsyncBuffer | ( | ) | [inline] |
Definition at line 146 of file plotdata.h.
| QColor PlotDataGeneric< Time, Value >::getColorHint | ( | ) | const [inline] |
Definition at line 223 of file plotdata.h.
| int PlotDataGeneric< Time, Value >::getIndexFromX | ( | Time | x | ) | const [inline] |
Definition at line 168 of file plotdata.h.
| nonstd::optional< Value > PlotDataGeneric< Time, Value >::getYfromX | ( | Time | x | ) | const [inline] |
Definition at line 192 of file plotdata.h.
| std::string PlotDataGeneric< Time, Value >::name | ( | ) | const [inline] |
Definition at line 55 of file plotdata.h.
| void PlotDataGeneric< Time, Value >::pushBack | ( | Point | p | ) | [inline] |
Definition at line 133 of file plotdata.h.
| void PlotDataGeneric< Time, Value >::pushBackAsynchronously | ( | Point | p | ) | [inline] |
Definition at line 139 of file plotdata.h.
| void PlotDataGeneric< Time, Value >::setColorHint | ( | QColor | color | ) | [inline] |
Definition at line 229 of file plotdata.h.
| void PlotDataGeneric< Time, Value >::setMaximumRangeX | ( | Time | max_range | ) | [inline] |
Definition at line 236 of file plotdata.h.
| size_t PlotDataGeneric< Time, Value >::size | ( | ) | const [inline, virtual] |
Definition at line 217 of file plotdata.h.
QColor PlotDataGeneric< Time, Value >::_color_hint [protected] |
Definition at line 87 of file plotdata.h.
Time PlotDataGeneric< Time, Value >::_max_range_X [private] |
Definition at line 91 of file plotdata.h.
std::mutex PlotDataGeneric< Time, Value >::_mutex [static, private] |
Definition at line 92 of file plotdata.h.
std::string PlotDataGeneric< Time, Value >::_name [protected] |
Definition at line 83 of file plotdata.h.
std::deque<Point> PlotDataGeneric< Time, Value >::_points [protected] |
Definition at line 84 of file plotdata.h.
std::deque<Point> PlotDataGeneric< Time, Value >::_pushed_points [protected] |
Definition at line 85 of file plotdata.h.