QRemoteObjectPendingCallWatcher Class

QRemoteObjectPendingCall 시청을 위한 QObject 기반 API를 제공합니다. ...

헤더: #include <QRemoteObjectPendingCallWatcher>
CMake: find_package(Qt6 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects)
qmake: QT += remoteobjects
상속합니다: QObjectQRemoteObjectPendingCall

공용 함수

bool isFinished() const
void waitForFinished()

시그널

void finished(QRemoteObjectPendingCallWatcher *self)

상세 설명

QRemoteObjectPendingCallWatcher는 QRemoteObjectPendingCall 호출이 완료된 시점을 나타내는 신호를 제공하여 호출을 차단하지 않고 편리하게 처리할 수 있도록 합니다.

멤버 함수 문서

[signal] void QRemoteObjectPendingCallWatcher::finished(QRemoteObjectPendingCallWatcher *self)

이 신호는 원격 호출이 완료되면 전송됩니다. self 은 신호를 전송한 감시자 객체에 대한 포인터입니다. 호출이 완료되면 반환값 또는 오류가 포함됩니다.

bool QRemoteObjectPendingCallWatcher::isFinished() const

원격 호출이 완료되면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.

완료된 호출에는 반환값 또는 오류가 포함됩니다.

void QRemoteObjectPendingCallWatcher::waitForFinished()

원격 통화가 끝날 때까지 차단합니다.

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