146 void Print(std::ostream &stream)
const;
Input half of the byte stream interface.
Definition ibstream.h:36
Output half of the byte stream interface.
Definition obstream.h:25
IBStream & restoreGuts(IBStream &stream)
Read the position back.
int mTick
The position, in MIDI ticks at 480 per quarter note.
Definition tick.h:153
Tick()
Start the position at kTickInfinity.
Definition tick.h:101
OBStream & saveGuts(OBStream &stream) const
Write the position.
Tick(int nTick)
Wrap a tick count, checking that it is finite.
Definition tick.h:115
void Print(std::ostream &stream) const
Write the position to a diagnostic stream as measure, beat, and tick.
static int IsInRange(int nTick)
Report whether a position is finite.
Scheduling of timed commands.
Definition activefilter.h:9
constexpr int kTickInfinity
Position the printer renders as positive infinity.
Definition tick.h:15
constexpr int kTickMaximum
Largest finite position, from the bound Sch::Tick::IsInRange() accepts.
Definition tick.h:18
constexpr int kTickMinimum
Smallest finite position, from the bound Sch::Tick::IsInRange() accepts.
Definition tick.h:21