18template <
typename Input,
typename Output>
27 virtual Output
step(Input ireading) = 0;
An abstract closed-loop controller.
Closed-loop controller that steps iteratively using the step method below.
virtual Output getMaxOutput()=0
Get the upper output bound.
virtual QTime getSampleTime() const =0
Get the last set sample time.
virtual Output getMinOutput()=0
Get the lower output bound.
virtual Output step(Input ireading)=0
Do one iteration of the controller.
virtual void setControllerSetTargetLimits(Output itargetMax, Output itargetMin)=0
Sets the (soft) limits for the target range that controllerSet() scales into.
virtual Output getOutput() const =0
Returns the last calculated output of the controller.
virtual void setSampleTime(QTime isampleTime)=0
Set time between loops.
virtual void setOutputLimits(Output imax, Output imin)=0
Set controller output bounds.