Pointer-neutral editing intents and their lowering to ordinary transactions. More...
#include <pulp/timeline/command.hpp>#include <pulp/timeline/document_session.hpp>#include <pulp/timeline_editor/sequencer_ui_host.hpp>#include <optional>#include <span>#include <utility>Go to the source code of this file.
Classes | |
| struct | pulp::timeline_editor::EditIntent |
| One editing step expressed without reference to the device that produced it. More... | |
| struct | pulp::timeline_editor::NoteEditIntent |
| One validated note editing step, independent of pointer or view geometry. More... | |
| class | pulp::timeline_editor::ValidatedNoteEditIntent |
| A note intent that passed validate_note_edit_intent and may cross a host seam. More... | |
| struct | pulp::timeline_editor::EditIntentIdentity |
| Identities a lowered transaction needs and an intent deliberately does not carry. More... | |
| struct | pulp::timeline_editor::EditGestureSubmitOutcome |
| Result of submitting one issued gesture transaction through its allocator. More... | |
| struct | pulp::timeline_editor::EditGestureSubmitError |
| A refusal before submission, or an inconsistent successful session result. More... | |
| class | pulp::timeline_editor::EditGestureIdentityIssue |
| One opaque, single-owner identity issue awaiting a submission outcome. More... | |
| class | pulp::timeline_editor::EditGestureIdentityAllocator |
| Allocates one undo group and submits a construction-safe stream of gesture identities. More... | |
Namespaces | |
| namespace | pulp |
| namespace | pulp::timeline_editor |
| ScriptedUiHost is a SequencerUiHost whose playhead is written by the caller instead of an engine, and which keeps what a view emitted so a test can read it back. | |
| namespace | pulp::timeline_editor::detail |
Typedefs | |
| using | pulp::timeline_editor::NoteEditIntentHost = SequencerUiHostT<ValidatedNoteEditIntent> |
| Host binding used by a piano-roll front-end before command lowering. | |
| using | pulp::timeline_editor::EditIntentHost = SequencerUiHostT<EditIntent> |
| The host an editor submits its intents to. | |
Functions | |
| std::optional< timeline::ModelError > | pulp::timeline_editor::validate_note_edit_intent (const NoteEditIntent &intent) noexcept |
| Returns the first structural or note-domain error, or nullopt when valid. | |
| runtime::Result< timeline::Transaction, NoteLoweringError > | pulp::timeline_editor::lower_note_edit_intent (const ValidatedNoteEditIntent &intent, std::span< const timeline::NoteEvent > current_notes, const EditIntentIdentity &identity) |
| Lowers one note intent to the granular transaction that performs it. | |
| runtime::Result< timeline::Transaction, timeline::ModelError > | pulp::timeline_editor::lower_edit_intent (const EditIntent &intent, const EditIntentIdentity &identity) |
| Lowers one intent to the ordinary transaction that performs it. | |
Pointer-neutral editing intents and their lowering to ordinary transactions.