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

Opaque, process-local identity for the part of a Project snapshot that determines nested-sequence and registered-content compile subscribers. More...

#include <model.hpp>

Public Member Functions

 SequenceCompileStructureToken () noexcept=default
bool valid () const noexcept
 Whether this token names a real structure snapshot.
constexpr bool operator== (const SequenceCompileStructureToken &) const noexcept=default

Friends

class Project

Detailed Description

Opaque, process-local identity for the part of a Project snapshot that determines nested-sequence and registered-content compile subscribers.

Constructor & Destructor Documentation

◆ SequenceCompileStructureToken()

pulp::timeline::SequenceCompileStructureToken::SequenceCompileStructureToken ( )
defaultnoexcept

Member Function Documentation

◆ operator==()

bool pulp::timeline::SequenceCompileStructureToken::operator== ( const SequenceCompileStructureToken & ) const
constexprdefaultnoexcept

◆ valid()

bool pulp::timeline::SequenceCompileStructureToken::valid ( ) const
inlinenoexcept

Whether this token names a real structure snapshot.

A default-constructed token is invalid and compares equal only to other default-constructed tokens, so it can be held as "no snapshot observed yet" without a separate flag. Comparing two invalid tokens therefore says nothing about structure — check valid() before treating equality as evidence that subscribers need no recompile.

Returns
true when the token was issued by a Project snapshot.

◆ Project

friend class Project
friend

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