QModbusTcpClient 类

The QModbusTcpClient class is the interface class for Modbus TCP client device. 更多...

头: #include <QModbusTcpClient>
qmake: QT += serialbus
Since: Qt 5.8
继承: QModbusClient

公共函数

QModbusTcpClient (QObject * parent = nullptr)
virtual ~QModbusTcpClient ()

静态公共成员

const QMetaObject staticMetaObject

重实现保护函数

virtual void close () override
virtual bool open () override

额外继承成员

详细描述

The QModbusTcpClient class is the interface class for Modbus TCP client device.

QModbusTcpClient communicates with the Modbus backend providing users with a convenient API.

成员函数文档编制

QModbusTcpClient:: QModbusTcpClient ( QObject * parent = nullptr)

构造 QModbusTcpClient 采用指定 parent .

[虚拟] QModbusTcpClient:: ~QModbusTcpClient ()

销毁 QModbusTcpClient 实例。

[override virtual protected] void QModbusTcpClient:: close ()

重实现自 QModbusDevice::close ().

[override virtual protected] bool QModbusTcpClient:: open ()

重实现自 QModbusDevice::open ().