QModbusTcpClient Class

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

头文件: #include <QModbusTcpClient>
qmake: QT += serialbus
开始支持版本: Qt 5.8
基类: QModbusClient

公有函数

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

重新实现的受保护函数

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)

Constructs a QModbusTcpClient with the specified parent.

QModbusTcpClient::~QModbusTcpClient()

Destroys the QModbusTcpClient instance.

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

Reimplemented from QModbusDevice::close().

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

Reimplemented from QModbusDevice::open().