1 #ifndef MusicSheetPlayer_h
2 #define MusicSheetPlayer_h
12 #ifndef DOXYGEN_SHOULD_IGNORE_THIS
13 Q_DECLARE_METATYPE(choir::ConstMusicSheetRef);
55 void RecalculateWakeupTime();
59 ConstMusicSheetRef _musicSheet;
62 uint32 _nextChordIndex;
64 uint64 _nextWakeupTimeLocal;
65 QTimer * _wakeupTimer;
This is an abstract interface for an object that can provide us with network-clock-time values...
void DestroyTimer()
Received on shutdown.
This object holds the state of how the currently-in-memory Music sheet should be performed over time...
void MusicSheetUpdated(const choir::ConstMusicSheetRef &newMusicSheet)
Received when the sheet music has changed.
~MusicSheetPlayer()
Destructor.
MusicSheetPlayer(const INetworkTimeProvider *networkTimeProvider, QObject *parent=NULL)
Constructor.
void PlaybackStateUpdated(const choir::PlaybackState &newPlaybackState)
Received when the playback state has changed.
void SetupTimer()
Received on startup.
The choir namespace contains the code specific to the ZGChoir demonstration application.
This object is in charge of reading the music sheet and telling Quasimodo when to ring the bells...
void RequestBells(quint64 chord, bool localNotesOnly)
Emitted when we want Quasimodo to ring a specified set of bells.