]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/voice-group-regs.hh
release: 0.0.57
[lilypond.git] / lily / include / voice-group-regs.hh
1 /*
2   voice-group-regs.hh -- declare Voice_group_registers
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef VOICEGROUPREGS_HH
11 #define VOICEGROUPREGS_HH
12
13 #include "register-group.hh"
14
15 /**
16   A group of voices which share certain characteristics (such as beams. ).
17  */
18 class Voice_group_registers  : public Register_group_register {
19     Moment termination_mom_;
20     Input_register const *ireg_C_;
21 protected:
22     virtual void do_print() const;
23     virtual void post_move_processing();
24     virtual bool try_request(Request*);
25 public:
26     void OK() const;
27     virtual Request_register * get_register_p(Request_register  * reg_l);
28     /// each group in a staff has an unique ID.
29     String group_id_str_;
30
31     /// The pointers are in the base class. This is just administration
32     Array<Voice_registers*> voice_reg_l_arr_;
33     /* *************** */
34     
35     NAME_MEMBERS(Voice_group_registers);
36     static bool static_acceptable_request_b(Request*);
37     virtual void add(Request_register*);
38     Voice_group_registers(String id, Input_register const *);
39 };
40 #endif // VOICEGROUPREGS_HH