Moves a track in authored order under an exact optimistic-position gate. More...
#include <command.hpp>
Public Attributes | |
| ItemId | sequence_id |
| ItemId | track_id |
| std::optional< ItemId > | expected_before_track_id = std::nullopt |
| std::optional< ItemId > | replacement_before_track_id = std::nullopt |
Moves a track in authored order under an exact optimistic-position gate.
A position names the track the moved track stands before; an empty value names the last position, matching InsertTrack::before_track_id. Swapping expected and replacement is the exact inverse used by undo — far cheaper than RemoveTrack's, which restores a whole owned subtree.
Authored order is all this touches. The identity order behind Sequence::tracks() and the compiled program both stay as they were.
| std::optional<ItemId> pulp::timeline::MoveTrack::expected_before_track_id = std::nullopt |
| std::optional<ItemId> pulp::timeline::MoveTrack::replacement_before_track_id = std::nullopt |
| ItemId pulp::timeline::MoveTrack::sequence_id |
| ItemId pulp::timeline::MoveTrack::track_id |