QModbusTcpClient Class

QModbusTcpClient クラスは Modbus TCP クライアント・デバイスのインターフェース・クラスです。詳細...

ヘッダー #include <QModbusTcpClient>
CMake: find_package(Qt6 REQUIRED COMPONENTS SerialBus)
target_link_libraries(mytarget PRIVATE Qt6::SerialBus)
qmake: QT += serialbus
継承: QModbusClient

パブリック関数

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

再実装された保護された関数

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

詳細説明

QModbusTcpClient は Modbus バックエンドと通信し、ユーザに便利な API を提供します。

メンバー関数ドキュメント

[explicit] QModbusTcpClient::QModbusTcpClient(QObject *parent = nullptr)

指定されたparent で QModbusTcpClient を構築します。

[virtual noexcept] QModbusTcpClient::~QModbusTcpClient()

QModbusTcpClient インスタンスを破棄します。

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

再インプリメント:QModbusDevice::close().

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

再インプリメント:QModbusDevice::open().

© 2025 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.