Peritoneal Dialysis Capstone
Controlling catheter for peritoneal dialysis
Loading...
Searching...
No Matches
Channel.h
Go to the documentation of this file.
1
4
5#ifndef CHANNEL_H
6#define CHANNEL_H
7
8#include <IInput.h>
9#include <IOutput.h>
10
14class Channel {
15private:
18
19public:
25
29 void update();
30
34 float getOutputValue();
35};
36
37#endif // CHANNEL_H
Channel(IInput &input, IOutput &output)
Definition Channel.cpp:3
void update()
Read from the input and write to the output.
Definition Channel.cpp:6
float getOutputValue()
Get the current output value duty cycle (between zero and one).
Definition Channel.cpp:11
IOutput & output
Definition Channel.h:17
IInput & input
Definition Channel.h:16
An analog input interface.
Definition IInput.h:13
An analog output interface.
Definition IOutput.h:13