QAbstractAspect Class


QAbstractAspect is the base class for aspects that provide a vertical slice of behavior. More...

Header: #include <QAbstractAspect>
qmake: QT += 3dcore
Inherits: QObject, QAspectJobProviderInterface, QSceneObserverInterface, and QBackendNodeFactory
Inherited By:


Public Types

enum AspectType { AspectRenderer, AspectAnimation, AspectCollision, AspectPhysics, ..., AspectOther }

Public Functions

QAbstractAspect(AspectType aspectType, QObject * parent = 0)
AspectType aspectType() const
bool isShuttingDown() const
QAbstractAspectJobManager * jobManager() const
void registerAspect(QEntity * rootObject)
QServiceLocator * services() const

Protected Functions

void clearBackendNode(QNode * frontend) const
QBackendNode * getBackendNode(QNode * frontend) const
void registerBackendType(const QBackendNodeFunctorPtr & functor)
void registerBackendType(const QMetaObject &, const QBackendNodeFunctorPtr & functor)

Reimplemented Protected Functions

virtual QBackendNode * createBackendNode(QNode * frontend) const
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior.

Member Type Documentation

enum QAbstractAspect::AspectType

Member Function Documentation

QAbstractAspect::QAbstractAspect(AspectType aspectType, QObject * parent = 0)

AspectType QAbstractAspect::aspectType() const

[protected] void QAbstractAspect::clearBackendNode(QNode * frontend) const

[virtual protected] QBackendNode * QAbstractAspect::createBackendNode(QNode * frontend) const

[protected] QBackendNode * QAbstractAspect::getBackendNode(QNode * frontend) const

bool QAbstractAspect::isShuttingDown() const

QAbstractAspectJobManager * QAbstractAspect::jobManager() const

void QAbstractAspect::registerAspect(QEntity * rootObject)

[protected] void QAbstractAspect::registerBackendType(const QBackendNodeFunctorPtr & functor)

[protected] void QAbstractAspect::registerBackendType(const QMetaObject &, const QBackendNodeFunctorPtr & functor)

QServiceLocator * QAbstractAspect::services() const

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