Abstract clock interface for the motion runtime.
More...
#include <PhosphorAnimation/IMotionClock.h>
Abstract clock interface for the motion runtime.
Pull-model: consumers read now() during their paint cycle. One clock per output/window to support mixed refresh rates.
◆ ~IMotionClock()
| virtual PhosphorAnimation::IMotionClock::~IMotionClock |
( |
| ) |
|
|
virtualdefault |
◆ IMotionClock() [1/3]
| PhosphorAnimation::IMotionClock::IMotionClock |
( |
const IMotionClock & | | ) |
|
|
delete |
◆ IMotionClock() [2/3]
| PhosphorAnimation::IMotionClock::IMotionClock |
( |
IMotionClock && | | ) |
|
|
delete |
◆ IMotionClock() [3/3]
| PhosphorAnimation::IMotionClock::IMotionClock |
( |
| ) |
|
|
protecteddefault |
◆ epochCompatible()
True iff both clocks are non-null and share the same non-null epochIdentity.
◆ epochIdentity()
| virtual const void * PhosphorAnimation::IMotionClock::epochIdentity |
( |
| ) |
const |
|
inlinevirtual |
Opaque epoch identity for rebindClock compatibility.
nullptr (default) = incompatible with rebind onto any other clock. Clocks sharing the same non-null identity are rebase-safe.
Reimplemented in PhosphorAnimation::QtQuickClock.
◆ now()
| virtual std::chrono::nanoseconds PhosphorAnimation::IMotionClock::now |
( |
| ) |
const |
|
pure virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ refreshRate()
| virtual qreal PhosphorAnimation::IMotionClock::refreshRate |
( |
| ) |
const |
|
pure virtual |
◆ requestFrame()
| virtual void PhosphorAnimation::IMotionClock::requestFrame |
( |
| ) |
|
|
pure virtual |
◆ steadyClockEpoch()
| const void * PhosphorAnimation::IMotionClock::steadyClockEpoch |
( |
| ) |
|
|
static |
Shared sentinel for std::chrono::steady_clock-backed clocks.
The documentation for this class was generated from the following file: