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

The declared set of context kinds one content renderer reads. More...

#include <compile_context.hpp>

Public Member Functions

constexpr CompileContextSubscriptions () noexcept=default
 Constructs an empty subscription set.
constexpr CompileContextSubscriptions & subscribe (CompileContextKind kind) noexcept
 Adds kind to this set and returns this object for chaining.
constexpr bool reads (CompileContextKind kind) const noexcept
 Returns whether kind is present in this set.
constexpr bool any () const noexcept
 Returns whether this set contains any context kind.
constexpr bool operator== (const CompileContextSubscriptions &) const noexcept=default
 Compares the complete subscribed-kind set.

Static Public Member Functions

static constexpr CompileContextSubscriptions none () noexcept
 Returns an empty subscription set.

Detailed Description

The declared set of context kinds one content renderer reads.

Default-constructed means "reads nothing beyond its own clip", which is what every built-in content kind declares today — so the contract cannot change the invalidation of anything that existed before it.

Constructor & Destructor Documentation

◆ CompileContextSubscriptions()

pulp::timeline::CompileContextSubscriptions::CompileContextSubscriptions ( )
constexprdefaultnoexcept

Constructs an empty subscription set.

Member Function Documentation

◆ any()

bool pulp::timeline::CompileContextSubscriptions::any ( ) const
inlineconstexprnoexcept

Returns whether this set contains any context kind.

◆ none()

constexpr CompileContextSubscriptions pulp::timeline::CompileContextSubscriptions::none ( )
inlinestaticconstexprnoexcept

Returns an empty subscription set.

◆ operator==()

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

Compares the complete subscribed-kind set.

◆ reads()

bool pulp::timeline::CompileContextSubscriptions::reads ( CompileContextKind kind) const
inlineconstexprnoexcept

Returns whether kind is present in this set.

◆ subscribe()

CompileContextSubscriptions & pulp::timeline::CompileContextSubscriptions::subscribe ( CompileContextKind kind)
inlineconstexprnoexcept

Adds kind to this set and returns this object for chaining.


The documentation for this class was generated from the following file: