Qt之QFuture理解

结构

1 1..n Future<T> QFutureInterface<T> <<interface>> QFutureCallOutInterface +void postCallOutEvent(const QFutureCallOutEvent&) +void callOutInterfaceDisconnected() QFutureInterfaceBase QFutureInterfaceBasePrivate QFutureCallOutEvent

QFutureCallOutInterface :作为QFuture处理过程中的回调

QFutureWatcher

QFutureWatcherBasePrivateQFutureCallOutInterface的实现类
QFutureWatcher<T> QFutureWatcherBasePrivate + QList<QFutureCallOutEvent *> pendingCallOutEvents + QAtomicInt pendingResultsReady + int maximumPendingResultsReady + QAtomicInt resultAtConnected + bool finished QFutureWatcherBase -const QFutureInterfaceBase &futureInterface() -QFutureInterfaceBase &futureInterface()

相关推荐
咯哦哦哦哦1 小时前
关于QT 打印中文 乱码问题
java·数据库·qt
mark-puls1 小时前
Qt界面布局利器:QStackedWidget详细用法解析
开发语言·qt
执尺量北斗5 小时前
LinkMate 智能会议室系统:基于 Qt / QML / WebRTC / FFmpeg / Whisper / OpenGL 的实时音视频会议平台
qt·ffmpeg·webrtc
共享家952715 小时前
QT-常用控件(二)
开发语言·qt
江公望18 小时前
Qt QThread使用方法入门浅解
c++·qt
灵性花火20 小时前
记录Qt的多个bug
qt·bug
奥特曼狂扁小怪兽1 天前
Qt 自定义无标题栏窗口:FramelessWidget 实现与解析
开发语言·qt
泽虞1 天前
《Qt应用开发》笔记
linux·开发语言·c++·笔记·qt
掘根1 天前
【Qt】绘图
开发语言·qt
ajassi20001 天前
开源 C++ QT QML 开发(十一)通讯--TCP服务器端
c++·qt·开源