Public Member Functions | Private Attributes | List of all members
CustomTimeseries Class Reference

#include <custom_timeseries.h>

Inheritance diagram for CustomTimeseries:
Inheritance graph
[legend]

Public Member Functions

 CustomTimeseries (const PlotData *source_data, const SnippetData &snippet, PlotDataMapRef &mapped_data)
 
bool updateCache (bool reset_old_data) override
 
- Public Member Functions inherited from TransformedTimeseries
void setTransform (QString transform_ID)
 
TimeSeriesTransformPtr transform ()
 
 TransformedTimeseries (const PlotData *source_data)
 
QString transformName ()
 
- Public Member Functions inherited from QwtTimeseries
virtual RangeOpt getVisualizationRangeY (Range range_X) override
 
 QwtTimeseries (const PlotData *data)
 
virtual nonstd::optional< QPointF > sampleFromTime (double t) override
 
- Public Member Functions inherited from QwtSeriesWrapper
QRectF boundingRect () const override
 
virtual RangeOpt getVisualizationRangeX ()
 
const PlotDataBase< double > * plotData () const
 
 QwtSeriesWrapper (const PlotDataBase< double > *data)
 
QPointF sample (size_t i) const override
 
void setTimeOffset (double offset)
 
size_t size () const override
 
- Public Member Functions inherited from QwtSeriesData< QPointF >
 QwtSeriesData ()
 Constructor. More...
 
virtual void setRectOfInterest (const QRectF &rect)
 
virtual ~QwtSeriesData ()
 Destructor. More...
 

Private Attributes

const PlotDataMapRef_mapped_data
 
std::unique_ptr< CustomFunction_transform
 

Additional Inherited Members

- Protected Attributes inherited from TransformedTimeseries
PlotData _dst_data
 
const PlotData_source_data
 
TimeSeriesTransformPtr _transform
 
- Protected Attributes inherited from QwtTimeseries
const PlotData_ts_data
 
- Protected Attributes inherited from QwtSeriesData< QPointF >
QRectF d_boundingRect
 Can be used to cache a calculated bounding rectangle. More...
 

Detailed Description

Definition at line 8 of file custom_timeseries.h.

Constructor & Destructor Documentation

CustomTimeseries::CustomTimeseries ( const PlotData source_data,
const SnippetData snippet,
PlotDataMapRef mapped_data 
)

Member Function Documentation

bool CustomTimeseries::updateCache ( bool  reset_old_data)
overridevirtual

Reimplemented from TransformedTimeseries.

Member Data Documentation

const PlotDataMapRef& CustomTimeseries::_mapped_data
private

Definition at line 19 of file custom_timeseries.h.

std::unique_ptr<CustomFunction> CustomTimeseries::_transform
private

Definition at line 18 of file custom_timeseries.h.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49