QRemoteObjectPendingCallWatcher Class
QRemoteObjectPendingCall を見るためのQObject ベースの API を提供する。
ヘッダ | #include <QRemoteObjectPendingCallWatcher> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS RemoteObjects) target_link_libraries(mytarget PRIVATE Qt6::RemoteObjects) |
qmake: | QT += remoteobjects |
を継承する: | QObject そしてQRemoteObjectPendingCall |
パブリック関数
bool | isFinished() const |
void | waitForFinished() |
シグナル
void | finished(QRemoteObjectPendingCallWatcher *self) |
詳細説明
QRemoteObjectPendingCallWatcher は、QRemoteObjectPendingCall が終了したことを示すシグナルを提供し、呼び出しの便利なノンブロッキング処理を可能にします。
メンバー関数ドキュメント
[signal]
void QRemoteObjectPendingCallWatcher::finished(QRemoteObjectPendingCallWatcher *self)
このシグナルは、リモート・コールが終了したときに発せられる。self は、シグナルを発したウォッチャー・オブジェクトへのポインタである。終了した呼び出しにはreturnValueかerrorが含まれます。
bool QRemoteObjectPendingCallWatcher::isFinished() const
リモート・コールが終了した場合はtrueを、そうでない場合はfalseを返す。
終了したコールには returnValue または error が含まれます。
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.