1 #ifndef H_EXTENSIONS_CUTEHMI_MODBUS_2_INCLUDE_CUTEHMI_MODBUS_DUMMYCLIENT_HPP
2 #define H_EXTENSIONS_CUTEHMI_MODBUS_2_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"
10 #include <cutehmi/services/PollingTimer.hpp>
35 Q_PROPERTY(
int connectLatency READ connectLatency WRITE setConnectLatency NOTIFY connectLatencyChanged)
36 Q_PROPERTY(
int disconnectLatency READ disconnectLatency WRITE setDisconnectLatency NOTIFY disconnectLatencyChanged)
37 Q_PROPERTY(
int latency READ latency WRITE setLatency NOTIFY latencyChanged)
43 int connectLatency() const;
45 void setConnectLatency(
int connectLatency);
47 int disconnectLatency() const;
49 void setDisconnectLatency(
int disconnectLatency);
53 void setLatency(
int latency);
58 void close() override;
61 void connectLatencyChanged();
63 void disconnectLatencyChanged();
65 void latencyChanged();