1 #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_3_INCLUDE_CUTEHMI_MODBUS_DUMMYCLIENT_HPP
2 #define H_EXTENSIONS_CUTEHMI_MODBUS_3_INCLUDE_CUTEHMI_MODBUS_DUMMYCLIENT_HPP
4 #include "internal/common.hpp"
5 #include "internal/DummyClientConfig.hpp"
6 #include "internal/DummyClientBackend.hpp"
7 #include "internal/PollingIterator.hpp"
8 #include "AbstractClient.hpp"
33 Q_PROPERTY(
int connectLatency READ connectLatency WRITE setConnectLatency NOTIFY connectLatencyChanged)
34 Q_PROPERTY(
int disconnectLatency READ disconnectLatency WRITE setDisconnectLatency NOTIFY disconnectLatencyChanged)
35 Q_PROPERTY(
int latency READ latency WRITE setLatency NOTIFY latencyChanged)
41 int connectLatency() const;
43 void setConnectLatency(
int connectLatency);
45 int disconnectLatency() const;
47 void setDisconnectLatency(
int disconnectLatency);
51 void setLatency(
int latency);
56 void close() override;
59 void connectLatencyChanged();
61 void disconnectLatencyChanged();
63 void latencyChanged();