|
Peritoneal Dialysis Capstone
Controlling catheter for peritoneal dialysis
|
An analog output interface. More...
#include <IOutput.h>

Public Member Functions | |
| virtual | ~IOutput ()=default |
| virtual float | getValue ()=0 |
| Returns the last value written to this output. | |
| virtual void | setValue (float value)=0 |
| Writes a value to this output. | |
An analog output interface.
Mainly exists so that PWMOutput can be mocked in unit tests.
|
virtualdefault |
|
pure virtual |
Returns the last value written to this output.
Implemented in PWMOutput.
|
pure virtual |
Writes a value to this output.
| value | The floating-point value to set. Must be in the range [0, 1]. |
Implemented in PWMOutput.