Midi Parser
A simple library that reads and parses binary MIDI files
|
A base class for Midi events. More...
#include <Event.h>
Public Member Functions | |
virtual | ~Event ()=default |
virtual Event * | clone () const =0 |
virtual MidiType::EventType | getType () const =0 |
uint8_t | getByteLength () const |
Protected Attributes | |
uint8_t | byteLength {} |
A base class for Midi events.
A virtual class all event classes are derived from
|
virtualdefault |
Destroys the Event object
|
pure virtual |
Clones the event
Implemented in MetaEvent, SysExEvent, and MidiEvent.
uint8_t Event::getByteLength | ( | ) | const |
|
pure virtual |
Returns the type of the event
Implemented in MetaEvent, SysExEvent, and MidiEvent.