QModbusTcpClient Class
A classe QModbusTcpClient é a classe de interface para dispositivos clientes Modbus TCP. Mais...
| Cabeçalho: | #include <QModbusTcpClient> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS SerialBus) target_link_libraries(mytarget PRIVATE Qt6::SerialBus) |
| qmake: | QT += serialbus |
| Herdado de: | QModbusClient |
Funções públicas
| QModbusTcpClient(QObject *parent = nullptr) | |
| virtual | ~QModbusTcpClient() |
Funções protegidas reimplementadas
Descrição detalhada
O QModbusTcpClient se comunica com o backend Modbus, oferecendo aos usuários uma API prática.
Documentação das funções de membro
[explicit] QModbusTcpClient::QModbusTcpClient(QObject *parent = nullptr)
Cria um objeto `QModbusTcpClient` com o ` parent` especificado.
[virtual noexcept] QModbusTcpClient::~QModbusTcpClient()
Destrói a instância do ` QModbusTcpClient `.
[override virtual protected] void QModbusTcpClient::close()
Reimplementa: QModbusDevice::close().
[override virtual protected] bool QModbusTcpClient::open()
Reimplementa: QModbusDevice::open().
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.