#include <plotdata.h>
Public Types | |
using | Point = typename PlotDataBase< Value >::Point |
Public Types inherited from PJ::PlotDataBase< Value > | |
enum | { MAX_CAPACITY = 1024 * 1024, ASYNC_BUFFER_CAPACITY = 1024 } |
typedef std::deque< Point >::const_iterator | ConstIterator |
typedef std::deque< Point >::iterator | Iterator |
typedef double | TypeX |
typedef Value | TypeY |
Public Member Functions | |
int | getIndexFromX (double x) const |
nonstd::optional< Value > | getYfromX (double x) const |
double | maximumRangeX () const |
void | popFront () override |
template<> | |
void | popFront () |
void | pushBack (const Point &p) |
void | pushBack (Point &&p) override |
template<> | |
void | pushBack (Point &&p) |
RangeOpt | rangeX () const override |
void | setMaximumRangeX (double max_range) |
TimeseriesBase (const std::string &name) | |
Public Member Functions inherited from PJ::PlotDataBase< Value > | |
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 |
const std::string & | name () const |
PlotDataBase & | operator= (const PlotDataBase &other)=delete |
const Point & | operator[] (size_t index) const |
Point & | operator[] (size_t index) |
PlotDataBase (const std::string &name) | |
PlotDataBase (const PlotDataBase &other)=delete | |
PlotDataBase (PlotDataBase &&other) | |
template<> | |
void | popFront () |
void | pushBack (const Point &p) |
virtual void | pushBack (Point &&p) |
template<> | |
void | pushBack (Point &&p) |
RangeOpt | rangeY () const |
template<> | |
RangeOpt | rangeY () const |
void | setColorHint (QColor color) |
virtual size_t | size () const |
void | swapData (PlotDataBase &other) |
virtual | ~PlotDataBase ()=default |
Protected Attributes | |
double | _max_range_x |
Protected Attributes inherited from PJ::PlotDataBase< Value > | |
QColor | _color_hint |
std::string | _name |
std::deque< Point > | _points |
Range | _range_x |
bool | _range_x_dirty |
Range | _range_y |
bool | _range_y_dirty |
Private Member Functions | |
void | trimRange () |
Definition at line 278 of file plotdata.h.
using PJ::TimeseriesBase< Value >::Point = typename PlotDataBase<Value>::Point |
Definition at line 290 of file plotdata.h.
|
inline |
Definition at line 292 of file plotdata.h.
|
inline |
Definition at line 545 of file plotdata.h.
|
inline |
Definition at line 579 of file plotdata.h.
|
inline |
Definition at line 305 of file plotdata.h.
|
inlineoverridevirtual |
Reimplemented from PJ::PlotDataBase< Value >.
Definition at line 314 of file plotdata.h.
|
inlinevirtual |
Reimplemented from PJ::PlotDataBase< Value >.
Definition at line 425 of file plotdata.h.
|
inline |
Definition at line 330 of file plotdata.h.
|
inlineoverride |
Definition at line 336 of file plotdata.h.
|
inline |
Definition at line 466 of file plotdata.h.
|
inlineoverridevirtual |
Reimplemented from PJ::PlotDataBase< Value >.
Definition at line 387 of file plotdata.h.
|
inline |
Definition at line 299 of file plotdata.h.
|
inlineprivate |
Definition at line 402 of file plotdata.h.
|
protected |
Definition at line 281 of file plotdata.h.