Arduino MIDI File Parser
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
midi::multichannel_segment_tracks Class Reference

#include <MidiFileParserMultiTrack.h>

Collaboration diagram for midi::multichannel_segment_tracks:
Collaboration graph
[legend]

Public Member Functions

void add (int track, midi_time_event event)
 Adds an midi event to the indicated track.
 
int trackCount ()
 Provides the number of tracks.
 
void begin ()
 Moves the iterators to the first element.
 
midi_time_eventnextEvent ()
 Provides the next event.
 
size_t size ()
 Count number for midi events.
 
bool isEmpty ()
 Returns true if there are no midi events.
 
uint64_t lastTime (int track)
 Provides the last recorded time for the indicated track.
 
void end ()
 Releases all data.
 
ProcessingStatus status ()
 Provides the current processing status.
 
midi_time_eventgetNoDataEvent ()
 Provides the reference to the nodata time event which signals that we provided no data.
 

Protected Member Functions

void addTrack (int track)
 

Protected Attributes

std::vector< std::list< midi_time_event > > tracks
 
std::vector< std::list< midi_time_event >::iterator > iterators
 
midi_time_event no_data
 
ProcessingStatus process_status = Inserting
 

Detailed Description

A list of events for each track held in an array


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