Skip to content

Class Ase::MidiEventReader

template <size_t MAXQUEUES>

ClassList > Ase > MidiEventReader

An in-order MidiEvent reader for multipleMidiEvent sources.

  • #include <midievent.hh>

Inherits the following classes: Ase::QueueMultiplexer

Public Types

Type Name
typedef std::array< const std::vector< MidiEvent > *, MAXQUEUES > VectorArray
typedef typename Base::iterator iterator

Public Types inherited from Ase::QueueMultiplexer

See Ase::QueueMultiplexer

Type Name
typedef decltype(QueueMultiplexer_priority(std::declval< const ValueType & >())) Priority
typedef std::remove_reference_t< decltype(*std::declval< ForwardIterator >())> ValueType
typedef Iter iterator

Public Attributes inherited from Ase::QueueMultiplexer

See Ase::QueueMultiplexer

Type Name
ssize_t current = = -1
Priority first = = {}
ssize_t n_queues = = 0
Priority next = = {}
std::array< Ptr, MAXQUEUES > ptrs

Public Functions

Type Name
MidiEventReader (const VectorArray & midi_event_vector_array=VectorArray())
iterator begin ()
iterator end ()
size_t events_pending () const

Public Functions inherited from Ase::QueueMultiplexer

See Ase::QueueMultiplexer

Type Name
QueueMultiplexer ()
bool assign (const std::array< const IterableContainer *, MAXQUEUES > & queues)
iterator begin ()
size_t count_pending () noexcept const
iterator end ()
bool more () noexcept const
const ValueType & peek () noexcept
const ValueType & pop () noexcept

Public Types Documentation

typedef VectorArray

using Ase::MidiEventReader< MAXQUEUES >::VectorArray =  std::array<const std::vector<MidiEvent>*, MAXQUEUES>;

typedef iterator

using Ase::MidiEventReader< MAXQUEUES >::iterator =  typename Base::iterator;

Public Functions Documentation

function MidiEventReader

Ase::MidiEventReader::MidiEventReader (
    const VectorArray & midi_event_vector_array=VectorArray()
) 

function begin

inline iterator Ase::MidiEventReader::begin () 

function end

inline iterator Ase::MidiEventReader::end () 

function events_pending

inline size_t Ase::MidiEventReader::events_pending () const


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/midievent.hh