QModbusTcpClient Class

QModbusTcpClient 클래스는 모드버스 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는 모드버스 백엔드와 통신하여 사용자에게 편리한 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.