]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/beam-engraver.hh
release: 1.0.1
[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)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef BEAM_GRAV_HH
11 #define BEAM_GRAV_HH
12
13 #include "engraver.hh"
14 #include "drul-array.hh"
15
16 /**
17   Generate a beam. Eats stems.
18  */
19 class Beam_engraver : public Engraver
20 {
21   Drul_array<Beam_req *> span_reqs_drul_;
22   Beam *beam_p_;
23   Rhythmic_grouping *current_grouping_p_;
24
25 public:
26   TRANSLATOR_CLONE(Beam_engraver);
27   DECLARE_MY_RUNTIME_TYPEINFO;
28   Beam_engraver();
29 protected:
30   virtual void do_removal_processing();
31   virtual void do_process_requests();
32   virtual bool do_try_request (Request*);
33   virtual void acknowledge_element (Score_element_info);
34   virtual void do_pre_move_processing();
35 };
36
37 #endif // BEAM_GRAV_HH