|
NiCMidi 1.1.0
A MIDI library derived from J.D.Koftinoff jdksmidi
|
A MIDISequencerGUINotifier which sends text messages to a std::ostream (std::cout as default). More...
#include <notifier.h>
Public Member Functions | |
| MIDISequencerGUINotifierText (const MIDISequencer *seq=0, std::ostream &os=std::cout) | |
| The constructor. More... | |
| unsigned char | GetStartFrom () const |
| Gets the numbering of measures and beats. More... | |
| bool | SetStartFrom (unsigned char c) |
| Sets the numbering of measures and beats (starting from 0 or from 1) More... | |
| virtual void | Notify (const MIDISequencerGUIEvent &ev) |
| Notifies the event ev, printing to it a readable event description. More... | |
Public Member Functions inherited from MIDISequencerGUINotifier | |
| MIDISequencerGUINotifier (const MIDISequencer *seq=0) | |
| The constructor. More... | |
| virtual void | SetSequencer (const MIDISequencer *seq) |
| This sets the sequencer which generates messages sent to the GUI. More... | |
| virtual bool | GetEnable () const |
| Returns the enable/disable status. More... | |
| virtual void | SetEnable (bool f) |
| Sets message sending on/off. More... | |
A MIDISequencerGUINotifier which sends text messages to a std::ostream (std::cout as default).
|
inline |
The constructor.
| seq | the sequencer from which messages originate |
| os | the std::ostream which will print the messages |
|
inline |
Gets the numbering of measures and beats.
See SetStartFromone().
| bool MIDISequencerGUINotifierText::SetStartFrom | ( | unsigned char | c | ) |
Sets the numbering of measures and beats (starting from 0 or from 1)
| c | 0 or 1. |
|
virtual |
Notifies the event ev, printing to it a readable event description.
Implements MIDISequencerGUINotifier.