DtConstrainedAnalogOutputPort is a version of DtAnalogOutputPort which will constrain any outgoing values to the range specified by min and max. It outputs DtAnalogPortData, can be connected to any port which accepts this data type, not only a DtConstrainedAnalogInputPort.
| DtConstrainedAnalogOutputPort::DtConstrainedAnalogOutputPort |
( |
const DtString & |
portName | ) |
|
| virtual DtConstrainedAnalogOutputPort::~DtConstrainedAnalogOutputPort |
( |
| ) |
|
|
overridevirtual |
| virtual void DtConstrainedAnalogOutputPort::setValue |
( |
double |
value | ) |
|
|
overridevirtual |
Overridden from base class to constrian the value to within max and min. Arguments passed to setValue() are clipped to fall within the specified constraints.
Reimplemented from DtAnalogOutputPort.
| virtual void DtConstrainedAnalogOutputPort::setMinValue |
( |
double |
minVal | ) |
|
|
virtual |
The default minimum and maximum values are set to 0.0.
| virtual double DtConstrainedAnalogOutputPort::minValue |
( |
| ) |
const |
|
virtual |
The default minimum and maximum values are set to 0.0.
| virtual void DtConstrainedAnalogOutputPort::setMaxValue |
( |
double |
maxVal | ) |
|
|
virtual |
The default minimum and maximum values are set to 0.0.
| virtual double DtConstrainedAnalogOutputPort::maxValue |
( |
| ) |
const |
|
virtual |
The default minimum and maximum values are set to 0.0.
| double DtConstrainedAnalogOutputPort::myMaxValue |
|
protected |
| double DtConstrainedAnalogOutputPort::myMinValue |
|
protected |
The documentation for this class was generated from the following file: