diff options
author | Mike Krus <mike.krus@kdab.com> | 2019-09-18 20:01:10 +0100 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2019-10-01 19:07:29 +0100 |
commit | 6c105dc43722cc199924f78cf044dab7a9251f20 (patch) | |
tree | 025fc5ff151983754fa368e9e221af2891b37f80 /src/core/jobs/qaspectjob_p.h | |
parent | 7c044beea804c1bdfe815304272119dcf36bf7a5 (diff) |
Add callback on aspect job when all jobs are completev5.14.0-beta1
This gets called in the main so it's safe for jobs to propagate
results from the run at this point.
Change-Id: I7d2f31472ec1fcd1801dcb9ded735f9f1e5214f9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/jobs/qaspectjob_p.h')
-rw-r--r-- | src/core/jobs/qaspectjob_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/jobs/qaspectjob_p.h b/src/core/jobs/qaspectjob_p.h index 7aa3151a0..b16c3cad2 100644 --- a/src/core/jobs/qaspectjob_p.h +++ b/src/core/jobs/qaspectjob_p.h @@ -61,6 +61,7 @@ QT_BEGIN_NAMESPACE namespace Qt3DCore { class QAspectJob; +class QAspectManager; #if QT_CONFIG(qt3d_profile_jobs) struct FrameHeader @@ -107,9 +108,12 @@ class Q_3DCORE_PRIVATE_EXPORT QAspectJobPrivate { public: QAspectJobPrivate(); + virtual ~QAspectJobPrivate(); static QAspectJobPrivate *get(QAspectJob *job); + virtual void postFrame(QAspectManager *aspectManager); + QVector<QWeakPointer<QAspectJob> > m_dependencies; #if QT_CONFIG(qt3d_profile_jobs) JobRunStats m_stats; |