A lane's authored coordinate at one grid tick. More...
#include <step_player.hpp>
Public Member Functions | |
| constexpr auto | operator<=> (const StepPlayerCoordinate &) const =default |
Public Attributes | |
| timebase::TickPosition | step_tick {} |
| timebase::TickPosition | following_tick {} |
| std::int64_t | ordinal = 0 |
| std::uint64_t | cycle = 0 |
| std::size_t | index = 0 |
A lane's authored coordinate at one grid tick.
ordinal counts step intervals from the tick origin, cycle counts completed passes over the lane, and index is the step the lane's walk selects. All three are pure functions of the lane's immutable spec and the tick, so a caller can ask which cell is about to speak and author it before process() rather than mirroring the walk and drifting from it.
|
constexprdefault |
| std::uint64_t pulp::midi::StepPlayerCoordinate::cycle = 0 |
| timebase::TickPosition pulp::midi::StepPlayerCoordinate::following_tick {} |
| std::size_t pulp::midi::StepPlayerCoordinate::index = 0 |
| std::int64_t pulp::midi::StepPlayerCoordinate::ordinal = 0 |
| timebase::TickPosition pulp::midi::StepPlayerCoordinate::step_tick {} |