#include <plotdata.h>
Classes | |
class | Point |
struct | RangeTime |
struct | RangeValue |
Public Types | |
enum | { MAX_CAPACITY = 1024*1024, ASYNC_BUFFER_CAPACITY = 1024 } |
typedef std::deque< Point > ::const_iterator | ConstIterator |
typedef std::deque< Point > ::iterator | Iterator |
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 |
Point & | at (size_t index) |
const Point & | back () const |
ConstIterator | begin () const |
Iterator | begin () |
void | clear () |
ConstIterator | end () const |
Iterator | end () |
const Point & | front () const |
QColor | getColorHint () const |
int | getIndexFromX (Time x) const |
nonstd::optional< Value > | getYfromX (Time x) const |
Time | maximumRangeX () const |
const std::string & | name () const |
PlotDataGeneric & | operator= (const PlotDataGeneric< Time, Value > &other) |
const Point & | operator[] (size_t index) const |
Point & | operator[] (size_t index) |
PlotDataGeneric (const std::string &name) | |
PlotDataGeneric (const PlotDataGeneric< Time, Value > &other) | |
PlotDataGeneric (PlotDataGeneric &&other) | |
void | popFront () |
void | pushBack (Point p) |
void | resize (size_t new_size) |
void | setColorHint (QColor color) |
void | setMaximumRangeX (Time max_range) |
virtual size_t | size () const |
void | swapData (PlotDataGeneric< Time, Value > &other) |
virtual | ~PlotDataGeneric () |
Protected Attributes | |
QColor | _color_hint |
std::string | _name |
std::deque< Point > | _points |
Private Attributes | |
Time | _max_range_X |
Definition at line 24 of file plotdata.h.
typedef std::deque<Point>::const_iterator PlotDataGeneric< Time, Value >::ConstIterator |
Definition at line 61 of file plotdata.h.
typedef std::deque<Point>::iterator PlotDataGeneric< Time, Value >::Iterator |
Definition at line 59 of file plotdata.h.
typedef nonstd::optional<RangeTime> PlotDataGeneric< Time, Value >::RangeTimeOpt |
Definition at line 38 of file plotdata.h.
typedef nonstd::optional<RangeValue> PlotDataGeneric< Time, Value >::RangeValueOpt |
Definition at line 39 of file plotdata.h.
typedef Time PlotDataGeneric< Time, Value >::TimeType |
Definition at line 55 of file plotdata.h.
typedef Value PlotDataGeneric< Time, Value >::ValueType |
Definition at line 57 of file plotdata.h.
anonymous enum |
Definition at line 50 of file plotdata.h.
PlotDataGeneric< Time, Value >::PlotDataGeneric | ( | const std::string & | name | ) | [inline] |
Definition at line 205 of file plotdata.h.
PlotDataGeneric< Time, Value >::PlotDataGeneric | ( | const PlotDataGeneric< Time, Value > & | other | ) |
PlotDataGeneric< Time, Value >::PlotDataGeneric | ( | PlotDataGeneric< Time, Value > && | other | ) | [inline] |
Definition at line 67 of file plotdata.h.
virtual PlotDataGeneric< Time, Value >::~PlotDataGeneric | ( | ) | [inline, virtual] |
Definition at line 82 of file plotdata.h.
const PlotDataGeneric< Time, Value >::Point & PlotDataGeneric< Time, Value >::at | ( | size_t | index | ) | const [inline] |
Definition at line 288 of file plotdata.h.
PlotDataGeneric< Time, Value >::Point & PlotDataGeneric< Time, Value >::at | ( | size_t | index | ) | [inline] |
Definition at line 295 of file plotdata.h.
const Point& PlotDataGeneric< Time, Value >::back | ( | ) | const [inline] |
Definition at line 114 of file plotdata.h.
ConstIterator PlotDataGeneric< Time, Value >::begin | ( | ) | const [inline] |
Definition at line 116 of file plotdata.h.
Iterator PlotDataGeneric< Time, Value >::begin | ( | ) | [inline] |
Definition at line 120 of file plotdata.h.
void PlotDataGeneric< Time, Value >::clear | ( | ) |
Definition at line 301 of file plotdata.h.
ConstIterator PlotDataGeneric< Time, Value >::end | ( | ) | const [inline] |
Definition at line 118 of file plotdata.h.
Iterator PlotDataGeneric< Time, Value >::end | ( | ) | [inline] |
Definition at line 122 of file plotdata.h.
const Point& PlotDataGeneric< Time, Value >::front | ( | ) | const [inline] |
Definition at line 112 of file plotdata.h.
QColor PlotDataGeneric< Time, Value >::getColorHint | ( | ) | const [inline] |
Definition at line 314 of file plotdata.h.
int PlotDataGeneric< Time, Value >::getIndexFromX | ( | Time | x | ) | const [inline] |
Definition at line 242 of file plotdata.h.
nonstd::optional< Value > PlotDataGeneric< Time, Value >::getYfromX | ( | Time | x | ) | const [inline] |
Definition at line 276 of file plotdata.h.
Time PlotDataGeneric< Time, Value >::maximumRangeX | ( | ) | const [inline] |
Definition at line 110 of file plotdata.h.
const std::string& PlotDataGeneric< Time, Value >::name | ( | ) | const [inline] |
Definition at line 84 of file plotdata.h.
PlotDataGeneric& PlotDataGeneric< Time, Value >::operator= | ( | const PlotDataGeneric< Time, Value > & | other | ) |
const Point& PlotDataGeneric< Time, Value >::operator[] | ( | size_t | index | ) | const [inline] |
Definition at line 96 of file plotdata.h.
Point& PlotDataGeneric< Time, Value >::operator[] | ( | size_t | index | ) | [inline] |
Definition at line 98 of file plotdata.h.
void PlotDataGeneric< Time, Value >::popFront | ( | ) | [inline] |
Definition at line 126 of file plotdata.h.
void PlotDataGeneric< Time, Value >::pushBack | ( | Point | p | ) | [inline] |
Definition at line 214 of file plotdata.h.
void PlotDataGeneric< Time, Value >::resize | ( | size_t | new_size | ) | [inline] |
Definition at line 124 of file plotdata.h.
void PlotDataGeneric< Time, Value >::setColorHint | ( | QColor | color | ) | [inline] |
Definition at line 320 of file plotdata.h.
void PlotDataGeneric< Time, Value >::setMaximumRangeX | ( | Time | max_range | ) | [inline] |
Definition at line 327 of file plotdata.h.
size_t PlotDataGeneric< Time, Value >::size | ( | ) | const [inline, virtual] |
Definition at line 308 of file plotdata.h.
void PlotDataGeneric< Time, Value >::swapData | ( | PlotDataGeneric< Time, Value > & | other | ) | [inline] |
Definition at line 75 of file plotdata.h.
QColor PlotDataGeneric< Time, Value >::_color_hint [protected] |
Definition at line 132 of file plotdata.h.
Time PlotDataGeneric< Time, Value >::_max_range_X [private] |
Definition at line 135 of file plotdata.h.
std::string PlotDataGeneric< Time, Value >::_name [protected] |
Definition at line 130 of file plotdata.h.
std::deque<Point> PlotDataGeneric< Time, Value >::_points [protected] |
Definition at line 131 of file plotdata.h.