1// Copyright (C) 2015 Paul Lemire
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_QTICKCLOCKSERVICE_P_H
5#define QT3DCORE_QTICKCLOCKSERVICE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <Qt3DCore/private/qabstractframeadvanceservice_p.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace Qt3DCore {
23
24class QTickClockServicePrivate;
25
26class QTickClockService : public QAbstractFrameAdvanceService
27{
28 Q_OBJECT
29public:
30 QTickClockService();
31 ~QTickClockService();
32
33 qint64 waitForNextFrame() final;
34 void start() final;
35 void stop() final;
36
37 Q_DECLARE_PRIVATE(QTickClockService)
38};
39
40} // Qt3D
41
42QT_END_NAMESPACE
43
44#endif // QT3DCORE_QTICKCLOCKSERVICE_P_H
45

source code of qt3d/src/core/services/qtickclockservice_p.h