QAspectJob Class

class Qt3DCore ::QAspectJob

The base class for jobs executed in an aspect. 更多...

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

公共函数

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

详细描述

成员函数文档编制

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

添加 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 )

移除给定 dependency from aspect job.

[pure virtual] void QAspectJob:: run ()

Executes the job.