#include <timeseries.h>
Public Types | |
using | Point = typename PlotDataBase< double, Value >::Point |
Public Types inherited from PJ::PlotDataBase< double, Value > | |
enum | |
typedef std::deque< Point >::const_iterator | ConstIterator |
typedef std::deque< Point >::iterator | Iterator |
typedef Value | ValueT |
Public Member Functions | |
int | getIndexFromX (double x) const |
std::optional< Value > | getYfromX (double x) const |
virtual bool | isTimeseries () const override |
double | maximumRangeX () const |
TimeseriesBase & | operator= (const TimeseriesBase &other)=delete |
TimeseriesBase & | operator= (TimeseriesBase &&other)=default |
void | pushBack (const Point &p) override |
void | pushBack (Point &&p) override |
void | setMaximumRangeX (double max_range) |
TimeseriesBase (const std::string &name, PlotGroup::Ptr group) | |
TimeseriesBase (const TimeseriesBase &other)=delete | |
TimeseriesBase (TimeseriesBase &&other)=default | |
Public Member Functions inherited from PJ::PlotDataBase< double, Value > | |
Point & | at (size_t index) |
const Point & | at (size_t index) const |
QVariant | attribute (PlotAttribute id) const |
Attributes & | attributes () |
const Attributes & | attributes () const |
const Point & | back () const |
Iterator | begin () |
ConstIterator | begin () const |
void | changeGroup (PlotGroup::Ptr group) |
virtual void | clear () |
void | clonePoints (const PlotDataBase &other) |
Iterator | end () |
ConstIterator | end () const |
const Point & | front () const |
const PlotGroup::Ptr & | group () const |
virtual void | insert (Iterator it, Point &&p) |
virtual bool | isTimeseries () const |
PlotDataBase & | operator= (const PlotDataBase &other)=delete |
PlotDataBase & | operator= (PlotDataBase &&other)=default |
Point & | operator[] (size_t index) |
const Point & | operator[] (size_t index) const |
PlotDataBase (const PlotDataBase &other)=delete | |
PlotDataBase (const std::string &name, PlotGroup::Ptr group) | |
PlotDataBase (PlotDataBase &&other)=default | |
const std::string & | plotName () const |
virtual void | popFront () |
virtual void | pushBack (const Point &p) |
virtual void | pushBack (Point &&p) |
virtual RangeOpt | rangeX () const |
virtual RangeOpt | rangeY () const |
void | setAttribute (PlotAttribute id, const QVariant &value) |
virtual size_t | size () const |
virtual | ~PlotDataBase ()=default |
Protected Attributes | |
double | _max_range_x |
Protected Attributes inherited from PJ::PlotDataBase< double, Value > | |
Attributes | _attributes |
std::shared_ptr< PlotGroup > | _group |
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 () |
Static Private Member Functions | |
static bool | TimeCompare (const Point &a, const Point &b) |
Additional Inherited Members | |
Protected Member Functions inherited from PJ::PlotDataBase< double, Value > | |
virtual void | pushUpdateRangeX (const Point &p) |
virtual void | pushUpdateRangeY (const Point &p) |
Definition at line 16 of file timeseries.h.
using PJ::TimeseriesBase< Value >::Point = typename PlotDataBase<double, Value>::Point |
Definition at line 23 of file timeseries.h.
|
inline |
Definition at line 25 of file timeseries.h.
|
delete |
|
default |
|
inline |
Definition at line 106 of file timeseries.h.
|
inline |
Definition at line 55 of file timeseries.h.
|
inlineoverridevirtual |
Definition at line 37 of file timeseries.h.
|
inline |
Definition at line 48 of file timeseries.h.
|
delete |
|
default |
|
inlineoverride |
Definition at line 61 of file timeseries.h.
|
inlineoverride |
Definition at line 67 of file timeseries.h.
|
inline |
Definition at line 42 of file timeseries.h.
|
inlinestaticprivate |
Definition at line 97 of file timeseries.h.
|
inlineprivate |
Definition at line 85 of file timeseries.h.
|
protected |
Definition at line 19 of file timeseries.h.