Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline::UndoGroupId Struct Reference

Writer-scoped identity joining gesture transactions into one undo unit. More...

#include <command.hpp>

Public Member Functions

constexpr bool valid () const noexcept
 Returns whether both the writer and sequence identities are nonzero.
constexpr auto operator<=> (const UndoGroupId &) const =default

Public Attributes

WriterId writer
std::uint64_t sequence = 0

Detailed Description

Writer-scoped identity joining gesture transactions into one undo unit.

Member Function Documentation

◆ operator<=>()

auto pulp::timeline::UndoGroupId::operator<=> ( const UndoGroupId & ) const
constexprdefault

◆ valid()

bool pulp::timeline::UndoGroupId::valid ( ) const
inlineconstexprnoexcept

Returns whether both the writer and sequence identities are nonzero.

Member Data Documentation

◆ sequence

std::uint64_t pulp::timeline::UndoGroupId::sequence = 0

◆ writer

WriterId pulp::timeline::UndoGroupId::writer

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/timeline/include/pulp/timeline/command.hpp