]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/auto-beam-engraver.hh
b638ba4898a161b175d07561f370206c426492b1
[lilypond.git] / lily / include / auto-beam-engraver.hh
1 /*   
2   auto-beam-engraver.hh -- declare Auto_beam_engraver
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Jan Nieuwenhuizen <janneke@gnu.org>
7   
8  */
9
10 #ifndef AUTO_BEAM_ENGRAVER_HH
11 #define AUTO_BEAM_ENGRAVER_HH
12
13 #include "engraver.hh"
14
15 class Auto_beam_engraver : public Engraver
16 {
17 public:
18   Auto_beam_engraver ();
19   VIRTUAL_COPY_CONS (Translator);
20
21 protected:
22   virtual void do_pre_move_processing ();
23   virtual void do_post_move_processing ();
24   virtual void do_removal_processing ();
25   virtual void acknowledge_element (Score_element_info);
26   virtual void do_process_requests ();
27   virtual void process_acknowledged ();
28
29 private:
30   void typeset_beam ();
31   void unbeam ();
32
33   Beam *finished_beam_p_;
34   Beam *beam_p_;
35   Moment last_add_mom_;
36   Moment extend_mom_;
37   Rhythmic_grouping*grouping_p_;
38   Rhythmic_grouping*finished_grouping_p_;
39 };
40
41 #endif /* AUTO_BEAM_ENGRAVER_HH */
42