1// Copyright (C) 2020 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DCORE_QCOREASPECT_H
5#define QT3DCORE_QCOREASPECT_H
6
7#include <Qt3DCore/qabstractaspect.h>
8
9QT_BEGIN_NAMESPACE
10
11namespace Qt3DCore {
12
13class QCoreAspectPrivate;
14
15class Q_3DCORESHARED_EXPORT QCoreAspect : public Qt3DCore::QAbstractAspect
16{
17 Q_OBJECT
18public:
19 explicit QCoreAspect(QObject *parent = nullptr);
20 ~QCoreAspect();
21
22 QAspectJobPtr calculateBoundingVolumeJob() const;
23
24protected:
25 Q_DECLARE_PRIVATE(QCoreAspect)
26
27private:
28 std::vector<Qt3DCore::QAspectJobPtr> jobsToExecute(qint64 time) override;
29 QVariant executeCommand(const QStringList &args) override;
30 void onRegistered() override;
31 void onUnregistered() override;
32 void onEngineStartup() override;
33 void frameDone() override;
34};
35
36}
37
38QT_END_NAMESPACE
39
40#endif // QT3DCORE_QCOREASPECT_H
41

source code of qt3d/src/core/aspect/qcoreaspect.h