7#include <PhosphorAnimation/phosphoranimation_export.h>
130 std::chrono::nanoseconds
now()
const override;
158 mutable std::atomic<std::chrono::nanoseconds::rep> m_nowCache{0};
180 std::atomic<bool> m_renderLoopActive{
false};
181 QPointer<QQuickWindow> m_window;
182 std::unique_ptr<SignalAdapter> m_adapter;
190 mutable std::atomic<bool> m_refreshRateThreadWarned{
false};
IMotionClock(const IMotionClock &)=delete
const void * epochIdentity() const override
Opaque epoch identity for rebindClock compatibility.
void requestFrame() override
Schedule another paint tick. Idempotent within a single frame.
std::chrono::nanoseconds now() const override
Monotonically non-decreasing steady-clock reading (nanoseconds).
friend class SignalAdapter
Definition QtQuickClock.h:140
QtQuickClock(QQuickWindow *window)
Construct a clock bound to window.
QQuickWindow * window() const
The QQuickWindow this clock is bound to. May be null.
qreal refreshRate() const override
Nominal refresh rate in Hz, or zero if unknown.
Definition AnimatedValue.h:32