Peritoneal Dialysis Capstone
Controlling catheter for peritoneal dialysis
Loading...
Searching...
No Matches
IInput Class Referenceabstract

An analog input interface. More...

#include <IInput.h>

Inheritance diagram for IInput:

Public Member Functions

virtual ~IInput ()=default
virtual float getValue ()=0
 Samples this input.

Detailed Description

An analog input interface.

Mainly exists so that PotentiometerInput can be mocked in unit tests.

Constructor & Destructor Documentation

◆ ~IInput()

virtual IInput::~IInput ( )
virtualdefault

Member Function Documentation

◆ getValue()

virtual float IInput::getValue ( )
pure virtual

Samples this input.

Returns
The floating-point value of this input, normalized to the range [0, 1].

Implemented in PotentiometerInput.


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