]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/stem-beam-reg.hh
a162e725e45c83309f5bbb5640488435a6cd0742
[lilypond.git] / lily / include / stem-beam-reg.hh
1 /*
2   stem-beam-reg.hh -- part of GNU LilyPond
3
4   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
5 */
6
7
8 #ifndef STEMBEAMREG_HH
9 #define STEMBEAMREG_HH
10 #include "register.hh"
11
12 /**
13   TODO:
14   override default_grouping if setting a n-plet
15   
16  */
17 class Stem_beam_register : public Request_register {
18     Stem * stem_p_;
19     Beam * beam_p_;
20     Beam_req * beam_req_l_;
21     Stem_req * stem_req_l_;
22     Beam_req * start_req_l_;
23     bool end_beam_b_;
24     Rhythmic_grouping *current_grouping;
25     int default_dir_i_;
26 public:
27     /* *************** */
28     NAME_MEMBERS();
29     Stem_beam_register();
30
31 protected:
32     ~Stem_beam_register();
33     virtual void set_feature(Feature dir_i_);
34     virtual bool do_try_request(Request*);
35     virtual void do_process_requests();
36     virtual void acknowledge_element(Score_elem_info);
37     virtual void do_pre_move_processing();
38     virtual void do_post_move_processing();
39 };
40 #endif // STEMBEAMREG_HH