Qwt User's Guide: QwtAbstractSeriesStore Class Reference

Qwt User's Guide 6.3.0

Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QwtAbstractSeriesStore Class Referenceabstract

Bridge between QwtSeriesStore and QwtPlotSeriesItem. More...

`#include <qwt_series_store.h>`

Inheritance diagram for QwtAbstractSeriesStore:

## Public Member Functions
virtual | ~QwtAbstractSeriesStore ()
| Destructor.

## Protected Member Functions
virtual void | dataChanged ()=0
| dataChanged() indicates, that the series has been changed.
virtual void | setRectOfInterest (const QRectF &)=0
virtual QRectF | dataRect () const =0
virtual size_t | dataSize () const =0

## Detailed Description

Bridge between QwtSeriesStore and QwtPlotSeriesItem.

QwtAbstractSeriesStore is an abstract interface only to make it possible to isolate the template based methods ( QwtSeriesStore ) from the regular methods ( QwtPlotSeriesItem ) to make it possible to derive from QwtPlotSeriesItem without any hassle with templates.

Definition at line 24 of file qwt_series_store.h.

## Constructor & Destructor Documentation

## ◆ ~QwtAbstractSeriesStore()

virtual QwtAbstractSeriesStore::~QwtAbstractSeriesStore | ( |  | ) |
| inlinevirtual

Destructor.

Definition at line 28 of file qwt_series_store.h.

## Member Function Documentation

## ◆ dataChanged()

virtual void QwtAbstractSeriesStore::dataChanged | ( |  | ) |
| protectedpure virtual

dataChanged() indicates, that the series has been changed.

Implemented in QwtPlotSeriesItem, and QwtPlotVectorField.

## ◆ dataRect()

virtual QRectF QwtAbstractSeriesStore::dataRect | ( |  | ) | const
| protectedpure virtual

Returns
  Bounding rectangle of the stored series

Implemented in QwtSeriesStore< T >, QwtSeriesStore< QPointF >, QwtSeriesStore< QwtIntervalSample >, QwtSeriesStore< QwtOHLCSample >, QwtSeriesStore< QwtPoint3D >, QwtSeriesStore< QwtSetSample >, and QwtSeriesStore< QwtVectorFieldSample >.

## ◆ dataSize()

virtual size_t QwtAbstractSeriesStore::dataSize | ( |  | ) | const
| protectedpure virtual

Returns
  Number of samples

Implemented in QwtSeriesStore< T >, QwtSeriesStore< QPointF >, QwtSeriesStore< QwtIntervalSample >, QwtSeriesStore< QwtOHLCSample >, QwtSeriesStore< QwtPoint3D >, QwtSeriesStore< QwtSetSample >, and QwtSeriesStore< QwtVectorFieldSample >.

## ◆ setRectOfInterest()

virtual void QwtAbstractSeriesStore::setRectOfInterest | ( | const QRectF & |  | ) |
| protectedpure virtual

Set a the "rectangle of interest" for the stored series

See also
  QwtSeriesData<T>::setRectOfInterest()

Implemented in QwtSeriesStore< T >, QwtSeriesStore< QPointF >, QwtSeriesStore< QwtIntervalSample >, QwtSeriesStore< QwtOHLCSample >, QwtSeriesStore< QwtPoint3D >, QwtSeriesStore< QwtSetSample >, and QwtSeriesStore< QwtVectorFieldSample >.