]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-performer.hh
release: 1.3.93
[lilypond.git] / lily / include / note-performer.hh
1 /*
2   note-performer.hh -- declare Note_performer
3
4   (c) 1996--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
5                  Jan Nieuwenhuizen <janneke@gnu.org>
6  */
7
8 #ifndef NOTE_PERFORMER_HH
9 #define NOTE_PERFORMER_HH
10
11 #include "performer.hh"
12
13 /**
14 Convert reqs to audio notes.
15 */
16 class Note_performer : public Performer {
17 public:
18   VIRTUAL_COPY_CONS(Translator);
19   
20
21   Note_performer();
22
23 protected:
24   virtual void do_process_music ();
25   virtual bool do_try_music (Music *req_l) ;
26
27   virtual void do_pre_move_processing ();
28   virtual void process_acknowledged ();
29   Global_translator* global_translator_l ();
30
31 private:
32   Array<Note_req*> note_req_l_arr_;
33   Array<Audio_note*> note_p_arr_;
34   Array<Audio_note*> delayed_p_arr_;
35 };
36
37 #endif // NOTE_PERFORMER_HH