QAspectJob Class

( Qt3DCore::QAspectJob )

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

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

公共函数

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

详细描述

The base class for jobs executed in an aspect

成员函数文档编制

QAspectJob:: QAspectJob ()

Default constructs an instance of QAspectJob.

[虚拟] QAspectJob:: ~QAspectJob ()

Destroys the instance of QAspectJob. The destructor is virtual.

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

添加 dependency to the aspect job.

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

Returns the dependencies of the aspect job.

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

移除给定 dependency from aspect job.

[pure virtual] void QAspectJob:: run ()

Executes job.