Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
main.cpp File Reference

"Pump Monitor": a sensor dashboard with a deliberate bug, used by the walkthrough in notes/examples/packet-lag.md. More...

#include <sonde/guitools.h>
#include <sonde/qmltools.h>
#include <sonde/server.h>
#include <sonde/widgetsintegration.h>
#include <QtCore/QDateTime>
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <QtCore/QLoggingCategory>
#include <QtCore/QTimer>
#include <QtNetwork/QTcpSocket>
#include <QtWidgets/QApplication>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QStatusBar>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QVBoxLayout>
#include "main.moc"

Classes

class  HubConnection
 The connection to the sensor hub: parses packets and announces them. More...
class  MonitorWindow
 The dashboard: a table of sensors and the pump-2 alarm. More...

Functions

int main (int argc, char **argv)
 Starts the monitor with the Sonde debug server (SONDE_HTTP / SONDE_LOCAL).

Detailed Description

"Pump Monitor": a sensor dashboard with a deliberate bug, used by the walkthrough in notes/examples/packet-lag.md.