이 페이지에서

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()을 재구현합니다.

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