ZG  "1.00
 All Classes Namespaces Files Functions Variables Enumerator Friends Macros Pages
Public Slots | Signals | Public Member Functions | List of all members
MusicSheetPlayer Class Reference

This object is in charge of reading the music sheet and telling Quasimodo when to ring the bells, based on the current time and settings. More...

#include <MusicSheetPlayer.h>

Inheritance diagram for MusicSheetPlayer:
Inheritance graph
[legend]

Public Slots

void SetupTimer ()
 Received on startup. More...
 
void MusicSheetUpdated (const choir::ConstMusicSheetRef &newMusicSheet)
 Received when the sheet music has changed. More...
 
void PlaybackStateUpdated (const choir::PlaybackState &newPlaybackState)
 Received when the playback state has changed. More...
 
void DestroyTimer ()
 Received on shutdown. More...
 

Signals

void RequestBells (quint64 chord, bool localNotesOnly)
 Emitted when we want Quasimodo to ring a specified set of bells. More...
 

Public Member Functions

 MusicSheetPlayer (const INetworkTimeProvider *networkTimeProvider, QObject *parent=NULL)
 Constructor. More...
 
 ~MusicSheetPlayer ()
 Destructor. More...
 

Detailed Description

This object is in charge of reading the music sheet and telling Quasimodo when to ring the bells, based on the current time and settings.

This is done within a separate thread, so that the timing of the bell-ringing won't be affected GUI operations

Definition at line 23 of file MusicSheetPlayer.h.

Constructor & Destructor Documentation

MusicSheetPlayer ( const INetworkTimeProvider networkTimeProvider,
QObject *  parent = NULL 
)

Constructor.

Destructor.

Member Function Documentation

void DestroyTimer ( )
slot

Received on shutdown.

void MusicSheetUpdated ( const choir::ConstMusicSheetRef &  newMusicSheet)
slot

Received when the sheet music has changed.

void PlaybackStateUpdated ( const choir::PlaybackState newPlaybackState)
slot

Received when the playback state has changed.

void RequestBells ( quint64  chord,
bool  localNotesOnly 
)
signal

Emitted when we want Quasimodo to ring a specified set of bells.

void SetupTimer ( )
slot

Received on startup.


The documentation for this class was generated from the following file: