1// Copyright (C) 2015 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 QT3DLOGIC_QLOGICASPECT_H
5#define QT3DLOGIC_QLOGICASPECT_H
6
7#include <Qt3DLogic/qt3dlogic_global.h>
8#include <Qt3DCore/qabstractaspect.h>
9
10QT_BEGIN_NAMESPACE
11
12namespace Qt3DLogic {
13
14class QLogicAspectPrivate;
15
16class Q_3DLOGICSHARED_EXPORT QLogicAspect : public Qt3DCore::QAbstractAspect
17{
18 Q_OBJECT
19public:
20 explicit QLogicAspect(QObject *parent = nullptr);
21 ~QLogicAspect();
22
23private:
24 std::vector<Qt3DCore::QAspectJobPtr> jobsToExecute(qint64 time) override;
25 void onRegistered() override;
26 void onEngineStartup() override;
27
28 Q_DECLARE_PRIVATE(QLogicAspect)
29 explicit QLogicAspect(QLogicAspectPrivate &dd, QObject *parent);
30};
31
32} // namespace Qt3DLogic
33
34QT_END_NAMESPACE
35
36#endif // QT3DLOGIC_QLOGICASPECT_H
37

source code of qt3d/src/logic/qlogicaspect.h