2 #ifndef VACUUMCONTROLLER_H 3 #define VACUUMCONTROLLER_H 33 void connectionStatus(
bool ok);
34 void newReading(
float p);
37 void connectToServer();
38 void closeConnection();
39 int tcpSendReceive(QString command,
bool interactive);
40 void dumpBuffer(QByteArray ba)
const;
42 void dumpBuffer(
bool out,
char* buf)
const;
45 QByteArray sendBuffer;
46 QByteArray recvBuffer;
52 #endif // VACUUMCONTROLLER_H float reading()
Get one reading from the selected gauge.
Definition: vacuum.cpp:93
bool isConnected()
Return connection status.
Definition: vacuum.h:29
A class to control the vacuum monitor.
Definition: vacuum.h:20
void selectGauge(int gauge)
Select the gauge to monitor.
Definition: vacuum.cpp:79