]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/beam-engraver.hh
69d29d6e59851b4254007fe345751cb6a0d5411e
[lilypond.git] / lily / include / beam-engraver.hh
1 /*   
2   beam-engraver.hh -- declare Beam_engraver
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef BEAM_ENGRAVER_HH
11 #define BEAM_ENGRAVER_HH
12
13 #include "engraver.hh"
14 #include "drul-array.hh"
15
16 class Beam_engraver : public Engraver {
17   Drul_array<Beam_req*> reqs_drul_;
18
19   Beam *finished_beam_p_;
20   Beam *beam_p_;
21   Beam_req * prev_start_req_;
22   Rhythmic_grouping*grouping_p_;
23   Rhythmic_grouping*finished_grouping_p_;
24   
25   void typeset_beam ();
26 protected:
27   virtual void do_pre_move_processing ();
28   virtual void do_post_move_processing ();
29   virtual void do_removal_processing ();
30   virtual void acknowledge_element (Score_element_info);
31   virtual bool do_try_music (Music*);
32   virtual void do_process_requests ();
33 public:
34   Beam_engraver ();
35   VIRTUAL_COPY_CONS (Translator);
36 };
37
38 #endif /* BEAM_ENGRAVER_HH */
39