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 () override
 
- Public Member Functions inherited from TimeseriesQwt
PlotData::RangeValueOpt getVisualizationRangeY (PlotData::RangeTime range_X) override
 
nonstd::optional< QPointF > sampleFromTime (double t) override
 
 TimeseriesQwt (const PlotData *source_data, const PlotData *transformed_data)
 
- Public Member Functions inherited from DataSeriesBase
QRectF boundingRect () const override
 
void calculateBoundingBox ()
 
 DataSeriesBase (const PlotData *transformed)
 
virtual PlotData::RangeTimeOpt getVisualizationRangeX ()
 
virtual QPointF sample (size_t i) const override
 
void setTimeOffset (double offset)
 
virtual size_t size () const override
 
const PlotDatatransformedData () const
 
- 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
 
CustomFunction _transform
 

Additional Inherited Members

- Protected Attributes inherited from TimeseriesQwt
PlotData _cached_data
 
const PlotData_source_data
 
- Protected Attributes inherited from DataSeriesBase
QRectF _bounding_box
 
- 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 
)

Definition at line 4 of file custom_timeseries.cpp.

Member Function Documentation

bool CustomTimeseries::updateCache ( )
overridevirtual

Implements DataSeriesBase.

Definition at line 14 of file custom_timeseries.cpp.

Member Data Documentation

const PlotDataMapRef& CustomTimeseries::_mapped_data
private

Definition at line 19 of file custom_timeseries.h.

CustomFunction CustomTimeseries::_transform
private

Definition at line 18 of file custom_timeseries.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:18