]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/beam-grav.hh
027fd92679433b8de6452cfdf3742acd4b891a2d
[lilypond.git] / lily / include / beam-grav.hh
1 /*
2   beam-grav.hh -- declare Beam_engraver
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.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   Text_spanner *plet_spanner_p_;
24   Rhythmic_grouping *current_grouping_p_;
25
26 public:
27   TRANSLATOR_CLONE(Beam_engraver);
28   DECLARE_MY_RUNTIME_TYPEINFO;
29   Beam_engraver();
30 protected:
31   virtual void do_removal_processing();
32   virtual void do_process_requests();
33   virtual bool do_try_request (Request*);
34   virtual void acknowledge_element (Score_elem_info);
35   virtual void do_pre_move_processing();
36 };
37
38 #endif // BEAM_GRAV_HH