QAspectJob Class

(Qt3DCore::QAspectJob)

The base class for jobs executed in an aspect. More...

Header: #include <Qt3DCore/QAspectJob>
qmake: QT += 3dcore

Public Functions

QAspectJob()
virtual ~QAspectJob()
void addDependency(QWeakPointer<Qt3DCore::QAspectJob> dependency)
QVector<QWeakPointer<Qt3DCore::QAspectJob> > dependencies() const
void removeDependency(QWeakPointer<Qt3DCore::QAspectJob> dependency)
virtual void run() = 0

Detailed Description

The base class for jobs executed in an aspect.

Member Function Documentation

QAspectJob::QAspectJob()

Default constructs an instance of QAspectJob.

[virtual] QAspectJob::~QAspectJob()

Destroys the instance of QAspectJob. The destructor is virtual.

void QAspectJob::addDependency(QWeakPointer<Qt3DCore::QAspectJob> dependency)

Adds dependency to the aspect job.

QVector<QWeakPointer<Qt3DCore::QAspectJob> > QAspectJob::dependencies() const

Returns the dependencies of the aspect job.

void QAspectJob::removeDependency(QWeakPointer<Qt3DCore::QAspectJob> dependency)

Removes the given dependency from aspect job.

[pure virtual] void QAspectJob::run()

Executes the job.

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