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

Writer-scoped, monotonically assigned command identity. 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 CommandId &) const =default

Public Attributes

WriterId writer
std::uint64_t sequence = 0

Detailed Description

Writer-scoped, monotonically assigned command identity.

Member Function Documentation

◆ operator<=>()

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

◆ valid()

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

Returns whether both the writer and sequence identities are nonzero.

Member Data Documentation

◆ sequence

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

◆ writer

WriterId pulp::timeline::CommandId::writer

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