]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-performer.hh
release: 0.1.8
[lilypond.git] / lily / include / staff-performer.hh
1 /*
2   staff-performer.hh -- declare Staff_performer
3
4   (c) 1996, 1997 Han-Wen Nienhuys <hanwen@stack.nl>
5                  Jan Nieuwenhuizen <jan@digicash.com>
6  */
7
8 #ifndef STAFF_PERFORMER_HH
9 #define STAFF_PERFORMER_HH
10
11 #include "performer-group-performer.hh"
12
13 /** Perform a staff. Individual notes should have their instrument
14   (staff-wide) set, so we override play()
15
16   */
17 class Staff_performer : public Performer_group_performer 
18 {
19 public:
20     DECLARE_MY_RUNTIME_TYPEINFO;
21
22     Staff_performer();
23     ~Staff_performer();
24
25     String instrument_str();
26
27 protected:
28     virtual void play (Audio_element* p);
29     virtual void do_removal_processing();
30     virtual void do_creation_processing();
31
32 private:
33     Audio_staff* audio_staff_p_;
34 };
35
36 #endif // STAFF_PERFORMER_HH