QAspectEngine Class

Inherits: QObject

Public Functions

QAspectEngine(QObject * parent = 0)
QAspectFactory aspectFactory() const
QList<QAbstractAspect *> aspects() const
void initialize()
void registerAspect(QAbstractAspect * aspect)
void registerAspect(const QString & name)
QSharedPointer<QEntity> rootEntity() const
void setAspectFactory(const QAspectFactory & factory)
void setData(const QVariantMap & data)
void setRootEntity(QEntity * root)
void shutdown()
  • 31 public 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
  • 9 protected functions inherited from QObject

Member Function Documentation

QAspectEngine::QAspectEngine(QObject * parent = 0)


QAspectFactory QAspectEngine::aspectFactory() const

See also setAspectFactory().

QList<QAbstractAspect *> QAspectEngine::aspects() const

void QAspectEngine::initialize()

void QAspectEngine::registerAspect(QAbstractAspect * aspect)

Registers a new aspect to the AspectManager. Passing as a QObject* as abstracts like AbstractAspect cannot be registered as a meta type.

void QAspectEngine::registerAspect(const QString & name)

Registers a new aspect to the AspectManager based on its name Uses the currently set aspect factory to create the actual aspect instance.

QSharedPointer<QEntity> QAspectEngine::rootEntity() const

See also setRootEntity().

void QAspectEngine::setAspectFactory(const QAspectFactory & factory)

See also aspectFactory().

void QAspectEngine::setData(const QVariantMap & data)

void QAspectEngine::setRootEntity(QEntity * root)

See also rootEntity().

void QAspectEngine::shutdown()

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