|
svcore
1.9
|
#include <MIDIEvent.h>

Public Member Functions | |
| MIDIEvent (unsigned long deltaTime, MIDIByte eventCode, MIDIByte data1=0, MIDIByte data2=0) | |
| MIDIEvent (unsigned long deltaTime, MIDIByte eventCode, MIDIByte metaEventCode, const std::string &metaMessage) | |
| MIDIEvent (unsigned long deltaTime, MIDIByte eventCode, const std::string &sysEx) | |
| ~MIDIEvent () | |
| void | setTime (const unsigned long &time) |
| void | setDuration (const unsigned long &duration) |
| unsigned long | addTime (const unsigned long &time) |
| MIDIByte | getMessageType () const |
| MIDIByte | getChannelNumber () const |
| unsigned long | getTime () const |
| unsigned long | getDuration () const |
| MIDIByte | getPitch () const |
| MIDIByte | getVelocity () const |
| MIDIByte | getData1 () const |
| MIDIByte | getData2 () const |
| MIDIByte | getEventCode () const |
| bool | isMeta () const |
| MIDIByte | getMetaEventCode () const |
| std::string | getMetaMessage () const |
| void | setMetaMessage (const std::string &meta) |
Private Member Functions | |
| MIDIEvent & | operator= (const MIDIEvent) |
Private Attributes | |
| unsigned long | m_deltaTime |
| unsigned long | m_duration |
| MIDIByte | m_eventCode |
| MIDIByte | m_data1 |
| MIDIByte | m_data2 |
| MIDIByte | m_metaEventCode |
| std::string | m_metaMessage |
Friends | |
| bool | operator< (const MIDIEvent &a, const MIDIEvent &b) |
Definition at line 117 of file MIDIEvent.h.
|
inline |
Definition at line 120 of file MIDIEvent.h.
|
inline |
Definition at line 132 of file MIDIEvent.h.
|
inline |
Definition at line 145 of file MIDIEvent.h.
|
inline |
Definition at line 157 of file MIDIEvent.h.
|
inline |
Definition at line 159 of file MIDIEvent.h.
References m_deltaTime.
|
inline |
Definition at line 160 of file MIDIEvent.h.
References m_duration.
|
inline |
Definition at line 161 of file MIDIEvent.h.
References m_deltaTime.
|
inline |
Definition at line 166 of file MIDIEvent.h.
References m_eventCode, and MIDIConstants::MIDI_MESSAGE_TYPE_MASK.
|
inline |
Definition at line 169 of file MIDIEvent.h.
References m_eventCode, and MIDIConstants::MIDI_CHANNEL_NUM_MASK.
Referenced by MIDIFileReader::parseTrack().
|
inline |
Definition at line 172 of file MIDIEvent.h.
References m_deltaTime.
Referenced by MIDIEventCmp::operator()().
|
inline |
Definition at line 173 of file MIDIEvent.h.
References m_duration.
|
inline |
Definition at line 175 of file MIDIEvent.h.
References m_data1.
|
inline |
Definition at line 176 of file MIDIEvent.h.
References m_data2.
|
inline |
Definition at line 177 of file MIDIEvent.h.
References m_data1.
|
inline |
Definition at line 178 of file MIDIEvent.h.
References m_data2.
|
inline |
Definition at line 179 of file MIDIEvent.h.
References m_eventCode.
|
inline |
Definition at line 181 of file MIDIEvent.h.
References m_eventCode, and MIDIConstants::MIDI_FILE_META_EVENT.
|
inline |
Definition at line 183 of file MIDIEvent.h.
References m_metaEventCode.
|
inline |
Definition at line 184 of file MIDIEvent.h.
References m_metaMessage.
|
inline |
Definition at line 185 of file MIDIEvent.h.
References m_metaMessage.
|
private |
|
private |
Definition at line 192 of file MIDIEvent.h.
|
private |
Definition at line 193 of file MIDIEvent.h.
Referenced by getDuration(), and setDuration().
|
private |
Definition at line 194 of file MIDIEvent.h.
Referenced by getChannelNumber(), getEventCode(), getMessageType(), and isMeta().
|
private |
Definition at line 195 of file MIDIEvent.h.
Referenced by getData1(), and getPitch().
|
private |
Definition at line 196 of file MIDIEvent.h.
Referenced by getData2(), and getVelocity().
|
private |
Definition at line 197 of file MIDIEvent.h.
Referenced by getMetaEventCode().
|
private |
Definition at line 198 of file MIDIEvent.h.
Referenced by getMetaMessage(), and setMetaMessage().