Qwt User's Guide 6.3.0
|
Class storing a QwtSeriesData object. More...
#include <qwt_series_store.h>
Public Member Functions | |
QwtSeriesStore () | |
Constructor The store contains no series. | |
~QwtSeriesStore () | |
Destructor. | |
void | setData (QwtSeriesData< T > *series) |
QwtSeriesData< T > * | data () |
const QwtSeriesData< T > * | data () const |
T | sample (int index) const |
virtual size_t | dataSize () const override |
virtual QRectF | dataRect () const override |
virtual void | setRectOfInterest (const QRectF &rect) override |
QwtSeriesData< T > * | swapData (QwtSeriesData< T > *series) |
Public Member Functions inherited from QwtAbstractSeriesStore | |
virtual | ~QwtAbstractSeriesStore () |
Destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from QwtAbstractSeriesStore | |
virtual void | dataChanged ()=0 |
dataChanged() indicates, that the series has been changed. | |
Class storing a QwtSeriesData object.
QwtSeriesStore and QwtPlotSeriesItem are intended as base classes for all plot items iterating over a series of samples. Both classes share a virtual base class ( QwtAbstractSeriesStore ) to bridge between them.
QwtSeriesStore offers the template based part for the plot item API, so that QwtPlotSeriesItem can be derived without any hassle with templates.
Definition at line 66 of file qwt_series_store.h.
|
explicit |
Constructor The store contains no series.
Definition at line 134 of file qwt_series_store.h.
QwtSeriesStore< T >::~QwtSeriesStore | ( | ) |
Destructor.
Definition at line 140 of file qwt_series_store.h.
|
inline |
Definition at line 146 of file qwt_series_store.h.
|
inline |
Definition at line 152 of file qwt_series_store.h.
|
overridevirtual |
Implements QwtAbstractSeriesStore.
Definition at line 184 of file qwt_series_store.h.
|
overridevirtual |
Implements QwtAbstractSeriesStore.
Definition at line 175 of file qwt_series_store.h.
|
inline |
index | Index |
Definition at line 158 of file qwt_series_store.h.
void QwtSeriesStore< T >::setData | ( | QwtSeriesData< T > * | series | ) |
Assign a series of samples
series | Data |
Definition at line 164 of file qwt_series_store.h.
|
overridevirtual |
Set a the "rect of interest" for the series
rect | Rectangle of interest |
Implements QwtAbstractSeriesStore.
Definition at line 193 of file qwt_series_store.h.
QwtSeriesData< T > * QwtSeriesStore< T >::swapData | ( | QwtSeriesData< T > * | series | ) |
Replace a series without deleting the previous one
series | New series |
Definition at line 200 of file qwt_series_store.h.