QAbstractAspect Class

(Qt3DCore::QAbstractAspect)

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

Header: #include <Qt3DCore/QAbstractAspect>
qmake: QT += 3dcore
Inherits: QObject
Inherited By:

Qt3DAnimation::QAnimationAspect, Qt3DInput::QInputAspect, Qt3DLogic::QLogicAspect, and Qt3DRender::QRenderAspect

Public Functions

QAbstractAspect(QObject *parent = nullptr)
  • 32 public functions inherited from QObject

Protected Functions

void registerBackendType(const QBackendNodeMapperPtr &functor)
void registerBackendType(const QMetaObject &obj, const QBackendNodeMapperPtr &functor)
QNodeId rootEntityId() const
void unregisterBackendType()
void unregisterBackendType(const QMetaObject &)
  • 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 Function Documentation

QAbstractAspect::QAbstractAspect(QObject *parent = nullptr)

Constructs a new QAbstractAspect with parent

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

Registers backend with functor.

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

Registers backend with obj and functor.

[protected] QNodeId QAbstractAspect::rootEntityId() const

Returns root entity node id.

[protected] void QAbstractAspect::unregisterBackendType()

[protected] void QAbstractAspect::unregisterBackendType(const QMetaObject &)

Related Non-Members

typedef Qt3DCore::QAspectJobPtr

A shared pointer for QAspectJob.

typedef Qt3DCore::QBackendNodeMapperPtr

A shared pointer for QBackendNodeMapper.

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