9 #include "plotsconfig.h"
11 #include "plotexpression.h"
85 double sample(
double sampleTime)
const override;
121 QString stringExpression()
const override;
132 #endif // __PLOTSLICE_H_
bool explicitTime() const override
Is the generated expression sensitive to changes in the time domain?
Definition: plotslice.h:116
const PlotExpression * indexerEnd() const
Accessor for the index end expression.
Definition: plotslice.h:80
Supports multiple bindings of the same expression to different curves.
Definition: plotbindingtracker.h:34
Core data for binding a PlotExpression.
Definition: plotexpressionbinddomain.h:49
The slice expression supports taking a slice out of another expression.
Definition: plotslice.h:53
BindResult
Return values for the PlotExpression::bind() method.
Definition: plotexpressionbinddomain.h:15
void unbind() override
Unbinds the sampling state.
double sample(double sampleTime) const override
Samples the indexee() at sampleTime.
BindResult bind(const QList< PlotInstance * > &curves, PlotBindingTracker &bindTracker, PlotExpressionBindDomain &domain, bool repeatLastBinding=false) override
Attempts to binds the slice expression.
This expression class binds and references an existing curve.
Definition: plotsample.h:95
const PlotExpression * indexee() const
Accessor for the indexee expression.
Definition: plotslice.h:74
PlotSlice(PlotExpression *indexee, PlotExpression *indexerStart, PlotExpression *indexerEnd)
Defines the slice expression.
A PlotExpression represents an operation in a plot equation.
Definition: plotexpression.h:91
PlotExpression * clone() const override
Performs a deep clone.
const PlotExpression * indexerStart() const
Accessor for the index start expression.
Definition: plotslice.h:77