svcore
1.9
|
#include <MIDIInput.h>
Signals | |
void | eventsAvailable () |
Public Member Functions | |
MIDIInput (QString name, FrameTimer *timer) | |
virtual | ~MIDIInput () |
bool | isOK () const |
bool | isEmpty () const |
int | getEventsAvailable () const |
MIDIEvent | readEvent () |
Protected Member Functions | |
void | callback (double, std::vector< unsigned char > *) |
void | postEvent (MIDIEvent) |
Static Protected Member Functions | |
static void | staticCallback (double, std::vector< unsigned char > *, void *) |
Protected Attributes | |
RtMidiIn * | m_rtmidi |
FrameTimer * | m_frameTimer |
RingBuffer< MIDIEvent * > | m_buffer |
Detailed Description
Definition at line 28 of file MIDIInput.h.
Constructor & Destructor Documentation
MIDIInput::MIDIInput | ( | QString | name, |
FrameTimer * | timer | ||
) |
Definition at line 22 of file MIDIInput.cpp.
References m_rtmidi, staticCallback(), SVCERR, and SVDEBUG.
|
virtual |
Definition at line 74 of file MIDIInput.cpp.
References m_rtmidi.
Member Function Documentation
|
inline |
Definition at line 36 of file MIDIInput.h.
References m_rtmidi.
|
inline |
Definition at line 38 of file MIDIInput.h.
References getEventsAvailable().
|
inline |
Definition at line 39 of file MIDIInput.h.
References eventsAvailable(), RingBuffer< T, N >::getReadSpace(), m_buffer, and readEvent().
Referenced by isEmpty().
MIDIEvent MIDIInput::readEvent | ( | ) |
Definition at line 105 of file MIDIInput.cpp.
References m_buffer, and RingBuffer< T, N >::readOne().
Referenced by getEventsAvailable().
|
signal |
Referenced by getEventsAvailable(), and postEvent().
|
staticprotected |
Definition at line 80 of file MIDIInput.cpp.
Referenced by MIDIInput().
|
protected |
Definition at line 87 of file MIDIInput.cpp.
References FrameTimer::getFrame(), m_frameTimer, postEvent(), and SVDEBUG.
|
protected |
Definition at line 114 of file MIDIInput.cpp.
References eventsAvailable(), RingBuffer< T, N >::getSize(), RingBuffer< T, N >::getWriteSpace(), m_buffer, SVCERR, SVDEBUG, and RingBuffer< T, N >::write().
Referenced by callback().
Member Data Documentation
|
protected |
Definition at line 46 of file MIDIInput.h.
Referenced by isOK(), MIDIInput(), and ~MIDIInput().
|
protected |
Definition at line 47 of file MIDIInput.h.
Referenced by callback().
|
protected |
Definition at line 53 of file MIDIInput.h.
Referenced by getEventsAvailable(), postEvent(), and readEvent().
The documentation for this class was generated from the following files:
Generated by 1.8.11