Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::midi::routing_detail::HeldNoteLedger Class Reference

#include <routing_utility_kernels.hpp>

Public Member Functions

constexpr bool empty () const noexcept
bool output_ownership_empty () const noexcept
void discard_input_ownership () const noexcept
bool can_forward (const MidiEvent &event) const noexcept
bool can_forward (const UmpPacket &packet) const noexcept
bool consume_suppressed_release (const MidiEvent &event) noexcept
bool consume_suppressed_release (const UmpPacket &packet) noexcept
void record (const MidiEvent &event, bool forwarded) noexcept
void record (const UmpPacket &packet, bool forwarded) noexcept
void retain_unprocessed_ownership (const MidiBuffer &input) noexcept
template<typename Emit>
bool drain_midi_releases (Emit &&emit) const noexcept
template<typename Emit>
bool drain_ump_releases (Emit &&emit) const noexcept
template<typename EmitMidi, typename EmitUmp>
bool flush (EmitMidi &&emit_midi, EmitUmp &&emit_ump) const noexcept

Static Public Attributes

static constexpr std::size_t kMaxTrackedOwnership = 4096

Member Function Documentation

◆ can_forward() [1/2]

bool pulp::midi::routing_detail::HeldNoteLedger::can_forward ( const MidiEvent & event) const
inlinenoexcept

◆ can_forward() [2/2]

bool pulp::midi::routing_detail::HeldNoteLedger::can_forward ( const UmpPacket & packet) const
inlinenoexcept

◆ consume_suppressed_release() [1/2]

bool pulp::midi::routing_detail::HeldNoteLedger::consume_suppressed_release ( const MidiEvent & event)
inlinenoexcept

◆ consume_suppressed_release() [2/2]

bool pulp::midi::routing_detail::HeldNoteLedger::consume_suppressed_release ( const UmpPacket & packet)
inlinenoexcept

◆ discard_input_ownership()

void pulp::midi::routing_detail::HeldNoteLedger::discard_input_ownership ( ) const
inlinenoexcept

◆ drain_midi_releases()

template<typename Emit>
bool pulp::midi::routing_detail::HeldNoteLedger::drain_midi_releases ( Emit && emit) const
inlinenoexcept

◆ drain_ump_releases()

template<typename Emit>
bool pulp::midi::routing_detail::HeldNoteLedger::drain_ump_releases ( Emit && emit) const
inlinenoexcept

◆ empty()

bool pulp::midi::routing_detail::HeldNoteLedger::empty ( ) const
inlineconstexprnoexcept

◆ flush()

template<typename EmitMidi, typename EmitUmp>
bool pulp::midi::routing_detail::HeldNoteLedger::flush ( EmitMidi && emit_midi,
EmitUmp && emit_ump ) const
inlinenoexcept

◆ output_ownership_empty()

bool pulp::midi::routing_detail::HeldNoteLedger::output_ownership_empty ( ) const
inlinenoexcept

◆ record() [1/2]

void pulp::midi::routing_detail::HeldNoteLedger::record ( const MidiEvent & event,
bool forwarded )
inlinenoexcept

◆ record() [2/2]

void pulp::midi::routing_detail::HeldNoteLedger::record ( const UmpPacket & packet,
bool forwarded )
inlinenoexcept

◆ retain_unprocessed_ownership()

void pulp::midi::routing_detail::HeldNoteLedger::retain_unprocessed_ownership ( const MidiBuffer & input)
inlinenoexcept

Member Data Documentation

◆ kMaxTrackedOwnership

std::size_t pulp::midi::routing_detail::HeldNoteLedger::kMaxTrackedOwnership = 4096
staticconstexpr

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